Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"The following site was not found in the configuration file..." when starting IIS Express from within VS Code #98

Closed
patrick-lim opened this issue Jul 9, 2020 · 3 comments

Comments

@patrick-lim
Copy link

Just as a test, I created a web application, launched VS Code, installed the Extension and fired up IIS Express. I get...

The following site was not found in the configuration file: 'test5-6cccf563-3792-40fa-a7c2-aecbbac2fd75'

In my launchsettings.json file, I have this:

{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:26944",
"sslPort": 44394
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"test5": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

@warrenbuckley
Copy link
Owner

Hi @patrick-lim
This is currently not supported to use the applicationhost.config file.

It’s something I want to look into soon & was reported in this issue #33

I will close this issue as it’s a duplicate

@graealex
Copy link

That's not a duplicate - I have don't have applicationhost.config either, but launch fails with "The following site was not found in the configuration file: 'xxx-9c9bfb49-e198-4318-b49f-fd70d2ad75cb'".

@graealex
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants