On VS 2017, When i debug a x86 wcf service host application. I get a BadImageFormat Exception. I think VS2017 use 64bits tools to execute WCF Service Host. How i can force VS2017 to use x86 version of WCF Service tools?
Asked
Active
Viewed 237 times
0
-
see; https://stackoverflow.com/questions/11872172/how-can-i-debug-a-32-bits-wcf-service-on-a-64-bits-machine – jlew Aug 10 '17 at 12:23
1 Answers
0
I found the solution here: http://celeron533.blogspot.fr/2013/02/debug-x86-wcf-service-on-x64-platform.html
- Open Visual Studio Command prompt as administrator
- Go to C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE
- copy WcfSvcHost.exe => WcfSvcHost.old.exe
- corflags /32BIT+ /FORCE WcfSvcHost.exe

ebelair
- 844
- 11
- 27