Solutions with mixed C++ and C# fail with out of memory
Posted by Yoni Davidson on 05 May 2014 10:33 AM


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


Cause and Solution:

This problem might happen if the C# project dependent on C++ project or projects.
The problem might occur with older IncrediBuild versions (V4.51 and downwards)

In order to solve this problem, please upgrade your IncrediBuild to V5.0 or higher.
In case upgrading IncrediBuild 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