简体   繁体   中英

Can't open simple Console Application with Visual Studio 2015 CTP Preview

I downloaded Visual Studio 2015 CTP Preview because I wanted to test to see if I could load in a Roslyn Code Issue extension.

When I try to create a simple console application using New Project -> Console Aplication I am getting the following error dialog.

在此处输入图片说明

Any ideas what might be causing this? I have reinstalled and same issue.

I had the same problem and found the solution on another site. Here are the steps that need to be performed:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM