Identityserver4 IdentityServer与project不兼容';我不知道如何运行IIS Express配置文件

Identityserver4 IdentityServer与project不兼容';我不知道如何运行IIS Express配置文件,identityserver4,Identityserver4,我刚刚开始使用IdentityServer,正在尝试设置并尝试第一个快速启动。我的问题是,当我尝试启动VS.Net项目IdentityServer时,出现了一个错误,即“该项目不知道如何运行IIS Express配置文件”,服务器无法启动。但是如果我切换到使用SelfHost配置文件,我就能够启动服务器。下面是我的LaunchSetting.json。有人能告诉我我做错了什么吗 { "iisSettings": { "windowsAuthenticat

我刚刚开始使用IdentityServer,正在尝试设置并尝试第一个快速启动。我的问题是,当我尝试启动VS.Net项目IdentityServer时,出现了一个错误,即“该项目不知道如何运行IIS Express配置文件”,服务器无法启动。但是如果我切换到使用SelfHost配置文件,我就能够启动服务器。下面是我的LaunchSetting.json。有人能告诉我我做错了什么吗

{
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iis": {
      "applicationUrl": "http://localhost/IdentityServer",
      "sslPort": 0
    },
    "iisExpress": {
      "applicationUrl": "http://localhost:5001",
      "sslPort": 0
    }
  },
  "profiles": {
    "IIS Express": {
      "commandName": "IISExpress",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      },
      "applicationUrl": "http://localhost:5001"
    },
    "SelfHost": {
      "commandName": "Project",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      },
      "applicationUrl": "http://localhost:5001"
    }
  }
}