Use PublishDir within redist.csproj
This commit is contained in:
parent
452b7fcbdd
commit
e9a31a27ba
1 changed files with 3 additions and 3 deletions
|
@ -79,10 +79,10 @@
|
||||||
BeforeTargets="GenerateCliRuntimeConfigurationFiles">
|
BeforeTargets="GenerateCliRuntimeConfigurationFiles">
|
||||||
|
|
||||||
<Copy SourceFiles="@(MSBuildExtensionsContent)"
|
<Copy SourceFiles="@(MSBuildExtensionsContent)"
|
||||||
DestinationFolder="$(SdkOutputDirectory)/%(RecursiveDir)" />
|
DestinationFolder="$(PublishDir)/%(RecursiveDir)" />
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<MSBuildTargetsDirectory>$(SdkOutputDirectory)/runtimes/any/native</MSBuildTargetsDirectory>
|
<MSBuildTargetsDirectory>$(PublishDir)/runtimes/any/native</MSBuildTargetsDirectory>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Move SourceFiles="@(NuPkgContentForMSBuildExtensions)"
|
<Move SourceFiles="@(NuPkgContentForMSBuildExtensions)"
|
||||||
DestinationFiles="@(NuPkgContentForMSBuildExtensions->'$(SdkOutputDirectory)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
DestinationFiles="@(NuPkgContentForMSBuildExtensions->'$(PublishDir)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||||
|
|
||||||
<RemoveAssetFromDepsPackages DepsFile="$(PublishDir)/$(TargetName).deps.json"
|
<RemoveAssetFromDepsPackages DepsFile="$(PublishDir)/$(TargetName).deps.json"
|
||||||
SectionName="runtimeTargets"
|
SectionName="runtimeTargets"
|
||||||
|
|
Loading…
Reference in a new issue