user91510
user91510

Reputation:

How do I build an executable file in visual studio 2010 that doesn't rely on the .NET 4 SDK DLL/Library files?

How do I build an executable file in visual studio 2010 that doesn't rely on the .NET 4 SDK DLL/Library files?

I'm getting an error that informs that the system.dll is missing, I'm assuming this is part of the SDK.

Upvotes: 0

Views: 691

Answers (1)

JaredPar
JaredPar

Reputation: 755171

If you're building a .Net application this is simply not possible. A .Net application requires the .Net runtime to be installed on the machine that it is run on.

If you're trying to build a pure C++ application which has no .Net framework support then make sure the Common Language Runtime support is disabled for the project.

  • Right click on the project and select properties
  • Navigate to Configuration Properties -> General
  • Ensure "Common Language Runtime Support" is sot to "No Common Language Runtime Support"

Upvotes: 2

Related Questions