0

我下载了 Visual Studio 2015 CTP Preview,因为我想测试是否可以加载 Roslyn Code Issue 扩展。

当我尝试使用New Project -> Console Aplication创建一个简单的控制台应用程序时,我收到以下错误对话框。

在此处输入图像描述

有什么想法可能导致这种情况吗?我已经重新安装了同样的问题。

4

1 回答 1

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

于 2016-07-01T11:42:11.323 回答