I am trying to install Visual Studito 2015 RC Community edition.
I downloaded the web installer and installed all components. After installation, I rebooted my machine as instructed, but it keeps giving me the same error when I try to make an application. Please see the screen below:
I have also tried removing
C:\Users\Gogol\AppData\Local\Microsoft\VisualStudio folder, but again, no luck.
I also have
devenv.exe added to the path. I can access
devenv in command prompt.
This method worked for me:
Delete contents of these 2 folders
Then run the VS.NET as admin, otherwise it won’t be able to renew the
Roaming folder correctly.
Run devenv.exe as administrator. It worked for me.
After some research, I was able to install VS 2015 Community and use it. This happened in my case because I paused the installation and restarted it later on. I uninstalled VS 2015 from my computer, restarted my computer and re-ran the setup ( including downloads) and it worked. Answering my own question just in case anyone is still searching for solution.
I too had this issue, generally it came from including a file in a git repo instead of using .gitignore
What I did is went to the project directory…
And deleted the above file, it worked from that point on. I believe it is a conflict with UUID’s or some such. (total guess)
Found this solution for VS 2012, which worked for me for VS 2015.
solution from referred link below:
note: change the path for VS 2015.
- Open exe, VS2012 x86 Native Tools Command Prompt (Run as administrator).
Path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Visual Studio 2012\Visual Studio Tools
- Then run gacutil /u Microsoft.VisualStudio.CSharp.Services.Language.Interop
This will successfully uninstall the service from GAC, which was causing the problem.
Started happening to me after i installed update 2 for Visual studio Community 2015. I tried absolutely everything
- this https://stackoverflow.com/a/773787/1437261
- and this https://stackoverflow.com/a/13639375/1437261
- running devenv.exe as an administrator
- running gacutil /u
Microsoft.VisualStudio.CSharp.Services.Language.Interop (it said 0
- running devenv.exe /resetsettings
- running devenv.exe /ResetSkipPkgs
- deleting HKEY_CURRENT_USER\Software\Microsoft\VisualStudio
non of these worked .. was really frustrated for 2 days. Finally uninstalled Visual Studio completely and re-installed it and it worked.
This also happens after installing Visual Studio 2015 update 3, solved by restarting the machine.
Like most developers having this issue with VS2015 I tried everything and each rabbit hole messed up my development environment worst then the prior. After three days and just at a point where I was going to have to turn my development box into IT for a reinstall of the OS I tried something found ON THIS MESSAGE THREAD and my jaw dropped when it worked. All I did was stop using the Web install and used their ISO download – a fresh install (after countless uninstalls) and a repair using the ISO version worked as I am accustomed to.
This suggests to me that the VS team is not being forthright to their handling of what appears to be a bad installation process and are remaining silent while we spin our wheels losing days of work – not good….
[UPDATE] It resolved the compiler could not be created error but I am now fighting an issue with the NuGet package manager not being installed. I’m uninstalling Update 2 to see if I can’t get Update 1 to work…
In my case it was because the .csproj was configured to use local IIS. I had made some changes to IIS and the website was no longer there. There was a warning in the output window. Editing the .csproj file to point to a new site, or re-creating the site will fix the issue.
For me deleting the entire project directory, re-cloning the project from Git and restarting Visual Studio (Community 2015) worked. On opening the re-cloned project in VS, it asks “The project “” is configured to use IIS Web Server which is not installed on this computer. Would you like to convert the project to use IIS Express?”
On opting Yes, VS sets the web server for the project to IIS Express and the project loads and builds fine.
This ends up changing the .csproj file to
UseIISExpress and sets the
IISUrl, which probably fixed the “Project could not be opened” issue.
Visual Studio 2015 could not load my MVC5 project in my solution and shows the same error message to me, when I tried to use ‘Reload Project’ via the context menu. The reason for this was a duplicate entry in the applicationhost.config.
Depending on the project settings, one of the both following applicationhost.config will be used by Visual Studio 2015:
- “[Path to solution].vs\config\applicationhost.config”
I opened the applicationhost.config and found two ‘site’ entries with the same name attribute:
<sites> <site name="WebSite" id="1" serverAutoStart="true"> [...] </site> <site name="WebSite" id="2" serverAutoStart="true"> [...] </site> </sites>
I removed one of the both ‘site’ blocks:
<sites> <site name="WebSite" id="1" serverAutoStart="true"> [...] </site> </sites>
After that I was able to successfully reload the MVC5 project.
I had the same issue. Nothing from here helps me.
I run the installation of Visual Studio again and update it. The installation shows me that
VC++ libs and
IIS Express were absent. This was solved my issue.
I claim no credit, but this worked for me, taken from here – https://social.msdn.microsoft.com
Open Windows Explorer, and navigate to \Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 14.0\Common7\IDE);
Delete the ItemTemplatesCache, ProjectTemplatesCache folder;
Open Visual Studio Command Prompt under Start menu
->Microsoft Visual Studio 2015
->Visual Studio Tools (run
it with Administrator privilege: right-click the program
Run the devenv /InstallVSTemplates switch;
Run the devenv /Setup switch