Answered by:

MSBuild.exe stops working with the message “error MSB1025: An internal failure occurred while running MSBuild”

Question

I have migrated my project from VS 2008 to VS 2010, but still targeting the same framework 3.5. While running the MSBuild from Visual studio command prompt 2010, it stops working with the following error.

This sounds like an issue we have seen before. Could you please tell me a little more about the project that you were migrating (language, project type: like SilverLight, XNA Game, or just a Console app) and any other details?

Also, would it be possible to get a copy of the project file? If you, you can email to my address below.

Great. Can you tell me how the file got in this state? Was it hand-edited? Or was it created by some tool like the project upgrading process?

Either way it shouldn't crash, and it's perfectly fine to hand-edit. But if it was created by a tool, then this might be harder for folks to figure out, and it's more important to try to get the fix in before 4.0 ships. Can you let me know?

(responding to original post incase you have an alert set on replies to it)

Great. Can you tell me how the file got in this state? Was it hand-edited? Or was it created by some tool like the project upgrading process?

Either way it shouldn't crash, and it's perfectly fine to hand-edit. But if it was created by a tool, then this might be harder for folks to figure out, and it's more important to try to get the fix in before 4.0 ships. Can you let me know?