Hi all,

I have built a very simple MFC dialog application using Visual studio MFC application wizard. Now, I need to port this to MSBuild, so that the project would get built. I've created sources build configuration file and all, so the project builds fine to .exe file using MSBuild. But the problem is that this .exe file fails to execute (it would show up in task manager for few seconds and then the process is killed). The same project builds and runs fine using VS.

So I am guessing that I missed adding some information to the sources file. Does anyone have any idea? I see that .manifest file is being generated when using VS, but I don't have manifest related settings in sources file. Does anyone have any idea? Any suggestion for converting from VS to MSBuild project?