Incredibuild Support has moved! Come join us at:

Incredibuild Support

Solutions with mixed C++ and C# fail with out of memory
Posted by Yoni Davidson, Last modified by Yoni Davidson on 27 December 2017 09:08 AM


Visual Studio 2005/2008 solution with mixed projects (both C++ and C#) fails with an out of memory error or with MSB4018: The "MSBuild" task failed unexpectedly


This problem may occur if the C# project is dependent on the C++ project(s).

This problem occurs with older IncrediBuild versions usually (v4.51 and downwards).


Please upgrade your version of IncrediBuild to V5.0 or higher. 

If upgrading is not an option, please try the following workaround:

  • On the Initiator machine, please create a registry string value named MSBuildNoDep under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Xoreax\IncrediBuild\Builder and set its value to 1.
(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
Help Desk Software by Kayako