Accessing static files in SCD

后端 未结 2 1273
春和景丽
春和景丽 2021-01-28 16:12

In the .NET CORE application, I\'m using static files in wwwroot folder. while running it as dotnet run the index.html file

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-28 16:26

    Add the corresponding statement in your project.json:

      "publishOptions": {
        "include": [
          "wwwroot",
          "appsettings.json",
          "web.config"
        ]
      },
    

提交回复
热议问题