开发者

WPF programs runs in Visual Studio 2010 but not when clicked on exe

I've made a WPF application that runs perfectly inside Visual Studio 开发者_如何学Python2010. When I built it (debug or release mode) and try to run the app, I've got an error, the form doesn't start.

any ideas?

thanks

Filip


If you have reference to the PresentationFramework.Aero try changing reference property "Copy Local" to true. It worked for me,


I have had a problem similar to this, the main problem turned out to be related to reflection. Usually when this happens it is because the code gets optimized more than when the debugger is attached.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜