开发者

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 vi开发者_C百科sual 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.


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"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜