msbuild FileSysExcludeFiles
<?xml version="1.0" encoding="utf-8"?> <!-- This file is used by the publish/package process of your Web project. You can customize the behavior of this process by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121. --> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <WebPublishMethod>FileSystem</WebPublishMethod> <SiteUrlToLaunchAfterPublish /> <publishUrl>C:\Temp\publish\01</publishUrl> <DeleteExistingFiles>False</DeleteExistingFiles> <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> <LastUsedPlatform>Any CPU</LastUsedPlatform> <ExcludeApp_Data>False</ExcludeApp_Data> </PropertyGroup> <ItemGroup> <ExcludeFromPackageFiles Include="$(MSBuildProjectDirectory)\Files-to-exclude\**\*"> <FromTarget>pubxml</FromTarget> </ExcludeFromPackageFiles> <ExcludeFromPackageFiles Include="$(MSBuildProjectDirectory)\bin\**\*"> <FromTarget>pubxml</FromTarget> </ExcludeFromPackageFiles> <ExcludeFromPackageFiles Include="$(MSBuildProjectDirectory)\Web.config"> <FromTarget>pubxml</FromTarget> </ExcludeFromPackageFiles> </ItemGroup> </Project>
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
2007-08-16 申请AdSense有什么要求的
2007-08-16 用word2007发布带图片博客windows服务程序
2007-08-16 Windows服务开发相关文章收集
2007-08-16 博客园创业相关文章收集
2007-08-16 淘宝会不会收费