加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Directory.Build.targets 2.66 KB
一键复制 编辑 原始数据 按行查看 历史
<Project>
<ItemGroup>
<!-- Remove unwanted files, eg. resources of unused files, unused native files -->
<GarbageFile Include="cs\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="de\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="es\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="fr\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="it\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="ja\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="ko\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="pl\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="pt-BR\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="ru\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="tr\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="zh-Hans\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="zh-Hant\Microsoft.CodeAnalysis.Workspaces.Desktop.resources.dll" />
<GarbageFile Include="Microsoft.CodeAnalysis.Workspaces.Desktop.dll" />
<GarbageFile Include="Microsoft.CodeAnalysis.Workspaces.Desktop.pdb" />
<GarbageFile Include="SQLitePCLRaw.batteries_green.dll" />
<GarbageFile Include="SQLitePCLRaw.batteries_v2.dll" />
<GarbageFile Include="SQLitePCLRaw.core.dll" />
<GarbageFile Include="SQLitePCLRaw.provider.e_sqlite3.dll" />
<GarbageFile Include="e_sqlite3.dll" />
<GarbageFile Include="x64\e_sqlite3.dll" />
<GarbageFile Include="x86\e_sqlite3.dll" />
<GarbageDir Include="x86" />
<GarbageDir Include="x64" />
<GarbageDir Include="ja" />
<GarbageDir Include="ko" />
<GarbageDir Include="pl" />
<GarbageDir Include="zh-Hans" />
<GarbageDir Include="zh-Hant" />
<GarbageDir Include="runtimes" Condition=" '$(IsDotNetFramework)' == 'true' " />
</ItemGroup>
<Target Name="MyRemoveGarbageFiles_AfterBuild" AfterTargets="AfterBuild">
<Delete Files="$(OutputPath)%(GarbageFile.Identity)" ContinueOnError="WarnAndContinue" />
<RemoveDir Directories="$(OutputPath)%(GarbageDir.Identity)" ContinueOnError="WarnAndContinue" />
</Target>
<Target Name="MyRemoveGarbageFiles_Publish" AfterTargets="Publish">
<Delete Files="$(PublishDir)%(GarbageFile.Identity)" ContinueOnError="WarnAndContinue" />
<RemoveDir Directories="$(PublishDir)%(GarbageDir.Identity)" ContinueOnError="WarnAndContinue" />
</Target>
</Project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化