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">
|
||||
|
||||
<Copy SourceFiles="@(MSBuildExtensionsContent)"
|
||||
DestinationFolder="$(SdkOutputDirectory)/%(RecursiveDir)" />
|
||||
DestinationFolder="$(PublishDir)/%(RecursiveDir)" />
|
||||
|
||||
<PropertyGroup>
|
||||
<MSBuildTargetsDirectory>$(SdkOutputDirectory)/runtimes/any/native</MSBuildTargetsDirectory>
|
||||
<MSBuildTargetsDirectory>$(PublishDir)/runtimes/any/native</MSBuildTargetsDirectory>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -96,7 +96,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<Move SourceFiles="@(NuPkgContentForMSBuildExtensions)"
|
||||
DestinationFiles="@(NuPkgContentForMSBuildExtensions->'$(SdkOutputDirectory)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
DestinationFiles="@(NuPkgContentForMSBuildExtensions->'$(PublishDir)/%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
|
||||
<RemoveAssetFromDepsPackages DepsFile="$(PublishDir)/$(TargetName).deps.json"
|
||||
SectionName="runtimeTargets"
|
||||
|
|
Loading…
Reference in a new issue