Knowledgebase:
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

Issue:

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

Cause: 

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).

Fix:

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:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako incredibuild.kayako.com