Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (45.3k points)

I changed my ASP.NET web application to use Local IIS, instead of IIS Express. Now after re-opening the solution, the following error occurs while loading the application:

error: Project 'Atlas2' could not be opened because the Visual C# 2015 compiler could not be created. 'Atlas2' is already part of the workspace.

error: Project 'Atlas2' could not be opened because the Visual C# 2015 compiler could not be created. An item with the same key has already been added.

Would someone please help me how I can reload the project? I'm using Visual Studio Team Services (was TFS Online) if it helps.

1 Answer

0 votes
by (16.8k points)

Please upload your project again and edit its .csproj file, then make the following changes:

Set <UseIISExpress>false</UseIISExpress> to true

Then remove <UseIIS>True</UseIIS>  & <IISUrl>http://localhost/MyWebApp</IISUrl>

Simply re-upload your project after this, which should rolled back yo use IIS.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...