1 Star 0 Fork 0

github_mirrors/standard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Directory.Build.targets 2.62 KB
一键复制 编辑 原始数据 按行查看 历史
wtgodbe 提交于 2018-12-19 14:54 . DARC-update, address feedback
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!--
For non-SDK projects that import this file and then import Microsoft.Common.targets,
tell Microsoft.Common.targets not to import Directory.Build.targets again
-->
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
</PropertyGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup>
<!--
Hack workaround to skip the GenerateCompiledExpressionsTempFile target in
Microsoft.WorkflowBuildExtensions.targets target that always runs in VS
-->
<GenerateCompiledExpressionsTempFilePathForEditing></GenerateCompiledExpressionsTempFilePathForEditing>
<!-- Pass RuntimeMetadataVersion to the compiler for all Core Assemblies -->
<RuntimeMetadataVersion Condition="'$(IsCoreAssembly)' == 'true'">v4.0.30319</RuntimeMetadataVersion>
<CLSCompliant Condition="'$(CLSCompliant)'==''">true</CLSCompliant>
</PropertyGroup>
<!--
Hack workaround for not restoring each project. Instead, we turn off all the targets
that require a `project.assets.json`, since ours will be empty anyway.
-->
<Target Name="_ClearResolvePackageAssets"
BeforeTargets="AssignProjectConfiguration"
Condition="'$(MSBuildProjectExtension)' != '.depproj'">
<PropertyGroup>
<ResolvePackageDependenciesForBuildDependsOn></ResolvePackageDependenciesForBuildDependsOn>
</PropertyGroup>
</Target>
<!--
Hack workaround for .depproj's built with TargetFramework=net47
This causes us to unnecessarily attempt to restore framework assemblies from the project directory
This target clears out those assemblies from the list of assets to resolve -->
<Target Name="_ClearResolvedFrameworkAssemblies"
AfterTargets="ResolvePackageAssets"
Condition="'$(MSBuildProjectExtension)' == '.depproj'">
<ItemGroup>
<ResolvedFrameworkAssemblies Remove="@(ResolvedFrameworkAssemblies)" />
</ItemGroup>
</Target>
<Import Project="$(RepositoryEngineeringDir)versioning.targets" />
<Import Project="$(RepositoryEngineeringDir)CodeAnalysis.targets" />
<Import Project="$(RepositoryEngineeringDir)depProj.targets" Condition="'$(MSBuildProjectExtension)' == '.depproj'" />
<Import Project="$(ToolSetCommonDirectory)Tools.proj.nuget.g.targets" Condition="Exists('$(ToolSetCommonDirectory)Tools.proj.nuget.g.targets')" />
<!-- Define this target to override the workaround in arcade as we don't need it for our pkgprojs -->
<Target Name="InitializeStandardNuspecProperties" />
</Project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/github_mirrors/standard.git
git@gitee.com:github_mirrors/standard.git
github_mirrors
standard
standard
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385