The application cannot load. Visual C # 2015 RC Compiler Cannot Be Created

I am trying to install Visual Studito 2015 RC Community.

I downloaded the web installer and installed all the components. After installation, I rebooted my machine according to the instructions, but it continues to give me the same error when I try to make an application. See screen below:

Screenshot showing the error "Project ... could not be opened because the Visual C # 2015 RC compiler could not be created. Please re-install Visual Studio."

I tried this answer and this answer from earlier versions of Visual Studio. It resets the settings, but ultimately has the same error.

I also tried deleting the 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 on the command line.

+62
c # visual-studio visual-studio-2015
May 27 '15 at 9:17
source share
13 answers

After some research, I managed to install VS 2015 Community and use it. This happened in my case because I paused the installation and restarted it later. I uninstalled VS 2015 from my computer, restarted my computer and restarted the installation (including the download), and it worked. Answering my own question, just in case someone is still looking for a solution.

+10
Jul 10 '15 at 18:27
source share

This method worked for me:

Delete the contents of these two folders

 C:\Users\%USERNAME%\AppData\Roaming\Microsoft\VisualStudio\ C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache 

Then run VS.NET as admin, otherwise it will not be able to correctly update the Roaming folder.

+82
Jun 29 '16 at 6:52
source share

Run devenv.exe as an administrator. It worked for me.

+55
Apr 22 '16 at 18:11
source share

I had this problem too, usually it included a file in the git repository instead of using .gitignore

What I did went to the project directory ...

/. Against / configuration / Applicationhost.config

And deleted the above file, it worked from now on. I believe this is a conflict with UUID or some of these. (general conjecture)

+7
Jun 22 '16 at 7:55
source share

Found this solution for VS 2012, which worked for me on VS 2015.

from the mentioned link below: note: change the path for VS 2015.

Decision

  • Open exe, VS2012 x86 Native command Command line (Run as administrator).

Path: C: \ ProgramData \ Microsoft \ Windows \ Start Menu \ Programs \ Microsoft Visual Studio 2012 \ Visual Studio Tools

  1. Then run gacutil / u Microsoft.VisualStudio.CSharp.Services.Language.Interop

This will result in the successful removal of the service from the GAC, which caused the problem.

The project could not be opened because the Visual C # 2012 compiler could not be created.

+5
Aug 25 '15 at 5:07
source share

I'll start with me, after I installed update 2 for Visual Studio Community 2015. I tried absolutely everything

  • this https://stackoverflow.com/questions/89186/ ...
  • and overflow.site/questions/89186 / ...
  • running devenv.exe as administrator
  • gacutil / u works
    Microsoft.VisualStudio.CSharp.Services.Language.Interop (he said 0
    assembly found)
  • running devenv.exe / resetsettings
  • running devenv.exe / ResetSkipPkgs
  • uninstall HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio

non of these works .. was really disappointed for 2 days. Finally, I completely uninstalled Visual Studio and reinstalled it, and it worked.

+2
May 7, '16 at 2:25
source share

This also happens after installing the update for Visual Studio 2015 3, resolved by restarting the machine.

+1
Feb 23 '17 at 7:38
source share

Like most developers having this problem with VS2015, I tried everything, and every hole in the rabbit ruined my development environment worse than before. Three days later, and only at the moment when I needed to turn my development box into IT for reinstalling the OS, I tried to find something IN THIS MESSAGE and my jaw dropped when it worked. All I did was stop using the web installation and use their ISO download - a new installation (after countless deletions) and repairs using the ISO version worked the way I used to.

This tells me that the VS team is not hiding behind their processing of what seems like a bad installation process, and remain quiet while we spin our wheels, losing workdays - not good ....

[UPDATE] He decided that the compiler could not create an error, but now I am struggling with the problem when the NuGet package manager is not installed. I am uninstalling update 2 to find out if I can get update 1 ...

0
Jun 06 '16 at 12:40
source share

In my case, this was because .csproj was configured to use local IIS. I made some changes to IIS and the website no longer exists. 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 problem.

0
Jul 20 '16 at 2:58
source share

For me, the entire project directory is deleted, the project is re-cloned from Git and Visual Studio (Community 2015) is reloaded. When opening a re-cloned project in VS, he asks: β€œProject” is configured to use the IIS web server, which is not installed on this computer. Would you like to convert a project to IIS Express? "

If you select Yes, VS installs the web server for the project in IIS Express, and the project loads and builds fine.

This changes the .csproj file to UseIISExpress and installs IISUrl , which probably fixes the "Project cannot be opened" problem.

0
Sep 26 '16 at
source share

Visual Studio 2015 was not able to load my MVC5 project in my solution and will display the same error message when I tried to use the "Update Project" via the context menu. The reason for this was a double entry in applicationhost.config.

Depending on the project settings, one of the following host.config applications will be used by Visual Studio 2015:

  • "[Solution Path] .vs \ config \ applicationhost.config"
  • "C: \ Users \ [username] \ Documents \ IISExpress \ Config \ ApplicationHost.config"

I opened 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 deleted one of the "site" blocks:

 <sites> <site name="WebSite" id="1" serverAutoStart="true"> [...] </site> </sites> 

After that, I was able to successfully reload the MVC5 project.

0
Oct 05 '16 at 8:35
source share

I had the same problem. Nothing from here helps me.

I run the Visual Studio installation again and update it . The installation shows that VC++ libs and IIS Express missing. This solved my problem.

0
Dec 13 '16 at 11:15
source share

I do not pretend to be a loan, but it worked for me, taken from here - https://social.msdn.microsoft.com

Open Windows Explorer and go to the \ Common7 \ IDE folder (the default is C: \ Program Files \ Microsoft Visual Studio 14.0 \ Common7 \ IDE);

  • Delete the ItemTemplatesCache, ProjectTemplatesCache folder;

  • Open the Visual Studio command line in the Start menu -> All Programs -> Microsoft Visual Studio 2015 -> Visual Studio Tools (run this with administrator rights: right-click the program -> Run as administrator);

  • Run the devenv / InstallVSTemplates switch;

  • Run the devenv / Setup switch

0
Feb 09 '17 at 11:53 on
source share



All Articles