dotnet / dotnet/project-system
Launch Profile Initializer incorrectly reporting errors
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
_This issue has a corresponding [ticket on Developer Community](https://developercommunity.visualstudio.com/content/idea/1020438/launch-profile-initializer.html). Please vote and comment there to make sure your voice is heard._
---
When the launchSettings.json file is missing `applicationUrl` and (I think) the .csproj is referencing the Microsoft.NET.Sdk.Web we get the following error:
> Launch Profile Initializer.
>
> Unable to parse the launchSettings.json file.

Here's an example of a failing launchSettings.json:

And here's the working one:

As you can see, the only different is the (redundant) `applicationUrl`.
It's worth noting that the lack of applicationUrl has seemingly zero effect on this ASP.NET Core app running.
Contributor guide
Assessment
This issue has not been assessed yet.