I am new to WPF and .net. I have a WPF app which someone else had written earlier and AFAI remember it was working just fine some time back. But today i see this mysterious error when trying to build the app and run from debugger :
Exception : “Could not find file ‘D:\xxxx\bin\Debug\xxx.vshost.exe.config”
I am able to run the generated exe from outside debugger. I am getting the mentioned exception ONLY when trying to debug from VS2008.
I’m not sure what is the reason for the exception but I figured how to fix it.
Basically I had enabled “throw” checkbox under debug->exceptions, and that was what started the problem. Still don’t know why vshost.exe looks for a config file by default.