Views not being copied when publish the project in netcore 2.0 visual studio 2017

前端 未结 4 1099
野趣味
野趣味 2020-12-15 08:12

I have createa a ASP.NET Core 2.0 project in VS 2017. When I publish my project the Views folder are not there but the wwwroot folder is.

T

4条回答
  •  情歌与酒
    2020-12-15 08:36

    In .Net core 3.1, we need to add the following code in .csproj

     
        netcoreapp3.1
      true
      
    

提交回复
热议问题