简体   繁体   English

如何在Microsoft Visual Studio 2013中将IDE从C#环境设置为C ++环境?

[英]How to set the IDE from C# environment to C++ environment in Microsoft Visual Studio 2013?

All the while I was doing C# using VS2013. 我一直在使用VS2013进行C#。

Tomorrow I would need to attend an intensive C++ training for 4 days. 明天我需要参加为期4天的强化C ++培训。 I need to set my VS2013 to become a C++ IDE. 我需要将VS2013设置为C ++ IDE。

Is it possible to do this? 是否有可能做到这一点? How? 怎么样?

I would create a new shortcut on my desktop and change the RootSuffix . 我将在桌面上创建一个新的快捷方式并更改RootSuffix This creates a additional set of settings for Visual Studio. 这将为Visual Studio创建一组附加设置。

Set the target of the new shortcut: 设置新快捷方式的目标:

 "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" /rootSuffix CPP

You will then be prompted to setup the IDE again and you can select whatever settings you want. 然后将提示您重新设置IDE,然后可以选择所需的任何设置。 This will not affect your current settings. 这不会影响您当前的设置。 I recommend using a different theme so you can easily tell them apart. 我建议使用其他主题,以便您可以轻松区分它们。

Note that the settings are stored in a different folder in AppData. 请注意,设置存储在AppData的其他文件夹中。 The settings for my example instance are at: 我的示例实例的设置为:

 C:\Users\john\AppData\Roaming\Microsoft\VisualStudio\12.0CPP

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何自动化(从命令行)安装 Visual Studio Build Tools 构建环境,适用于 C++、.NET、C# 等 - How to automate (from command-line) the installation of a Visual Studio Build Tools build environment, for C++, .NET, C#, etc 如何使用Microsoft Visual Studio 2013在C#中以混合模式调试? - how to debug in mixed mode in C# with Microsoft Visual Studio 2013? 如何设置环境来解决 Visual Studio 中的 LeetCode 问题? C# - How do I set up an environment to solve LeetCode problems in Visual Studio? C# 如何在Visual Studio 2013中的C#结构字段上设置断点 - How to set a breakpoint on a C# structure field in Visual Studio 2013 如何使用Microsoft Visual Studio在C#中设置线标记? - How to set line markers in C# using Microsoft Visual Studio? 如何在C#中从Internet为Visual Studio 2013添加参考 - How to add reference from Internet for visual studio 2013 in C# C# Visual Studio IDE - C# Visual Studio IDE 为什么Microsoft Visual Studio 2013在加载非常大的C ++和C#解决方案时会意外地重新启动? - Why does Microsoft Visual Studio 2013 restart unpredictably when it loads very large C++ and C# solutions? 在Visual Studio 2010 C#项目中设置调试/运行环境变量? - Set debug/run environment variable in Visual Studio 2010 C# project? 如何在C#中永久设置环境变量 - How to set Environment variables permanently in C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM