Visual Studio 2010自动切换到C ++ / CLI编译器(Visual studio 2010 automatically switched to C++/CLI compiler)

编程入门 行业动态 更新时间:2024-10-27 22:32:35
Visual Studio 2010自动切换到C ++ / CLI编译器(Visual studio 2010 automatically switched to C++/CLI compiler)

在过去的几个月里,我一直致力于C ++ / CLI项目。

现在我回到了C ++,但似乎VS 2010已经开始使用C ++ / CLI编译器,即使对于标准C ++项目也是如此。

我刚刚创建了一个新的C ++空项目,但是当我编译代码时,它似乎使用了C ++ / CLI编译器。 Intellisense也被禁用。

如何将默认的C ++编译器恢复到我的项目?

I've been working to a C++/CLI project in the last few months.

Now I'm back to C++ but seems that VS 2010 has set to use C++/CLI compiler even for standard C++ projects.

I just created a new C++ empty project but when I compile the code, it seems using C++/CLI compiler. Intellisense is disabled as well.

How can I restore the default C++ compiler to my project ?

最满意答案

从菜单栏中选择Project - > Properties 。 在“ Project properties窗口的“ Configuration Properties - >“ General ,确保“ Common Language Runtime Support设置为“ No Common Language Runtime Support 。

在此处输入图像描述

Choose Project -> Properties from the menu bar. In the Project properties window, under Configuration Properties -> General, make sure that Common Language Runtime Support is set to No Common Language Runtime Support.

enter image description here

更多推荐

本文发布于:2023-07-21 09:40:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1209026.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:编译器   切换到   Studio   Visual   CLI

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!