.net - 启动配置文件初始化程序 : Unable to parse the launchSettings. json 文件

标签 .net visual-studio

Microsoft Visual Studio 显示以下错误框:

Launch Profile Initializer

Unable to parse the launchSettings.json file.

在哪里可以找到导致此问题的项目? 输出窗口中没有详细信息。

最佳答案

您的 launchSettings.json 必须至少包含 applicationUrl 例如

{
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iisExpress": {
      "applicationUrl": "http://localhost:55555",
      "sslPort": 44395
    }
  }
}

来源:https://developercommunity.visualstudio.com/idea/1020438/launch-profile-initializer.html

关于.net - 启动配置文件初始化程序 : Unable to parse the launchSettings. json 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60863524/

相关文章:

c# - 为 Console.WriteLine() 创建快捷方式

c# - 数组的 DeepCopy

.net - 为什么 ConcurrentQueue 没有容量?

c# - c#中的stuff函数实现

visual-studio - 在 Visual Studio 中更改成员变量的字体

c# - 内存不足,无法继续执行程序 VisualStudio

c# - 使用 DI 框架处理多个配置文件的良好实践

c++ - 为 Visual Studio 2017 设置 Curl : NMAKE: fatal error U1073: don't know how to make '..\src\tool_hugehelp.c'

visual-studio - 调试私有(private) NuGet 包?

c# - 如何关闭 Visual Studio 2010 中的远程调试?