开发者

Build dll without /clr option

开发者 https://www.devze.com 2023-04-01 01:30 出处:网络
In visual studio 2005 how to compile without the /clr option? visual studio project properties->Configuration properties->C/C++ ->Command Line->All options: here the /clr switch is enabled by default

In visual studio 2005 how to compile without the /clr option?

visual studio project properties->Configuration properties->C/C++ ->Command Line->All options: here the /clr switch is enabled by default with many othe开发者_如何转开发r options, however i am unable to edit this.


Project Properties on the General tab you should see a section for Project Defaults. Change Common Language Runtime Support to No Common Language Runtime Support


Just from the msdn.
Configuration Properties -> Common Language Runtime Support. Set it to "No support".

On the other hand how did you manage to enable this with a C++ project.

0

精彩评论

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