个错误只能说VC编译器还不够智能啊
在使用前需要使用Common Language Runtime Support (/clr).
在配置属性中,选择general-》选择clc (Configuration Properties/General/Common Language Runtime support)
解释:This is not C++ but Managed C++ (clr) and thus needs to be specified in project properties at Configuration Properties/General/Common Language Runtime support. There you will see drop down box with options.
解决VC编译器错误
本文介绍了如何解决在使用Visual C++编译器时遇到的一个特定错误,该错误提示需要指定Managed C++ (/clr)支持。通过配置项目的属性,在Configuration Properties/General下选择Common Language Runtime Support选项即可解决此问题。
1万+

被折叠的 条评论
为什么被折叠?



