ASP.NET Core: Exclude or include files on publish

前端 未结 9 789

There were before aspdotnet1.0 include/exclude sections on project.json file

{
  \"exclude\": [
    \"node_modules\",
    \"bower_c         


        
9条回答
  •  有刺的猬
    2020-11-27 05:03

    In .csproj for Visual Studio versions 15.3 and higher, this keeps the files visible in Visual Studio (whereas "Content Remove" does not), and prevents the files from being published.

    
        
    
    

提交回复
热议问题