Visual Studio 2010: How to exclude folder/files from “Build Deployment Package”?

前端 未结 2 1117
悲&欢浪女
悲&欢浪女 2021-01-12 04:47

Is it possible to exclude specific files or folders from \"Build Deployment Package\" function in VS 2010?

In VS 2008 it was possible with Web Deployment package, un

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-12 05:35

    just to clarify the ItemGroup include should be after after the following import in your .csproj:

    
    

    eg.

    
      
        Project
      
    
    

    Sayed Ibrahim Hashimi has a good post on this: http://sedodream.com/2010/05/01/WebDeploymentToolMSDeployBuildPackageIncludingExtraFilesOrExcludingSpecificFiles.aspx

提交回复
热议问题