How do I exclude a folder from a project but not from publish?

前端 未结 3 2344
粉色の甜心
粉色の甜心 2021-02-19 17:20

I\'ve migrated an asp.net core project to VS2017 RC, which now supports the ability to exclude files from a project. I\'ve excluded two folders, which added these lines to my cs

3条回答
  •  一向
    一向 (楼主)
    2021-02-19 17:44

    I worked around this by adding the following lines to the PrepublishScript target in the csproj file, since there doesn't seem to be an elegant way to do it yet.

    
      
      
        
        
      
      
      
    
    

提交回复
热议问题