开发者

Build dll without /clr option

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜