我下载了Visual Studio 2015 CTP预览版,因为我想测试是否可以加载Roslyn代码问题扩展。
当我尝试使用新项目创建一个简单的控制台应用程序时 - >控制台应用程序我收到以下错误对话框。
任何可能导致此问题的想法?我重新安装了同样的问题。
答案 0 :(得分:1)
我遇到了同样的问题,并在另一个网站上找到了解决方案。以下是需要执行的步骤:
Open a Visual Studio command window with admin privileges. This can be done from Windows search after clicking on the Windows button (or Start button - depending on the OS) located in the lower left corner. Make sure that you don't have any Visual Studio project open before proceeding.
Type in prompt in the search box and select "Developer Command Prompt". Right click on this and select run with admin privileges.
In the command window Enter:
cd C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE
In the command window then enter:
devenv / installvstemplates