Don't explicitly import Arcade SDK in AfterSigning.targets (#22429)
* Don't explicitly import Arcade SDK in AfterSigning.targets * Only import sdk.targets * Set _SuppressSdkImports * Undo whitespace
This commit is contained in:
parent
eccd6272b3
commit
b817a39cae
|
|
@ -1,12 +1,10 @@
|
||||||
<Project>
|
<Project>
|
||||||
|
|
||||||
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(GenerateChecksums)' == 'true'" />
|
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(GenerateChecksums)' == 'true'">
|
<PropertyGroup Condition="'$(GenerateChecksums)' == 'true'">
|
||||||
<!-- The one use of ArtifactsDir in Publish.proj adds an additional slash, confusing itself. -->
|
<!-- The one use of ArtifactsDir in Publish.proj adds an additional slash, confusing itself. -->
|
||||||
<ArtifactsDir Condition=" HasTrailingSlash('$(ArtifactsDir)') ">$(ArtifactsDir.Substring(0, $([MSBuild]::Subtract($(ArtifactsDir.Length), 1))))</ArtifactsDir>
|
<ArtifactsDir Condition=" HasTrailingSlash('$(ArtifactsDir)') ">$(ArtifactsDir.Substring(0, $([MSBuild]::Subtract($(ArtifactsDir.Length), 1))))</ArtifactsDir>
|
||||||
<!-- $(InstallersOutputPath) is not defined. Root Directory.Build.props is not imported. -->
|
<!-- $(InstallersOutputPath) is not defined. Root Directory.Build.props is not imported. -->
|
||||||
<InstallersOutputPath>$(ArtifactsDir)\installers\</InstallersOutputPath>
|
<InstallersOutputPath>$(ArtifactsDir)\installers\</InstallersOutputPath>
|
||||||
|
<_SuppressSdkImports>false</_SuppressSdkImports>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="PopulateGenerateChecksumItems"
|
<Target Name="PopulateGenerateChecksumItems"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue