DestinationFolder="$(CombinedPublishRoot)/%(CombinedFiles.RecursiveDir)" />
<!-- create output dir -->
- <MakeDir Condition="!Exists('$(PackagesOutDir)')"
- Directories="$(PackagesOutDir)" />
+ <MakeDir Condition="!Exists('$(AssetOutputPath)')"
+ Directories="$(AssetOutputPath)" />
</Target>
<Target Name="GenerateVersionBadge">
<ZipFileCreateFromDirectory
SourceDirectory="$(CombinedPublishRoot)"
- DestinationArchive="$(PackagesOutDir)$(CombinedCompressedFile)"
+ DestinationArchive="$(AssetOutputPath)$(CombinedCompressedFile)"
OverwriteDestination="true" />
<ZipFileCreateFromDirectory
SourceDirectory="$(HostFxrPublishRoot)"
- DestinationArchive="$(PackagesOutDir)$(HostFxrCompressedFile)"
+ DestinationArchive="$(AssetOutputPath)$(HostFxrCompressedFile)"
OverwriteDestination="true" />
<ZipFileCreateFromDirectory
SourceDirectory="$(SharedFrameworkPublishRoot)"
- DestinationArchive="$(PackagesOutDir)$(SharedFrameworkCompressedFile)"
+ DestinationArchive="$(AssetOutputPath)$(SharedFrameworkCompressedFile)"
OverwriteDestination="true" />
<ZipFileCreateFromDirectory
SourceDirectory="$(SharedFrameworkPublishSymbolsDir)"
- DestinationArchive="$(PackagesOutDir)$(SharedFrameworkSymbolsCompressedFile)"
+ DestinationArchive="$(AssetOutputPath)$(SharedFrameworkSymbolsCompressedFile)"
OverwriteDestination="true" />
</Target>
<!-- tar command will throw 'file changed as we read it' on some distros. ignore that error.
we use -C so that we get a relative folder structure which is compressed rather than the full path -->
- <Exec Command="tar -C $(CombinedPublishRoot) -czf $(PackagesOutDir)$(CombinedCompressedFile) ."
+ <Exec Command="tar -C $(CombinedPublishRoot) -czf $(AssetOutputPath)$(CombinedCompressedFile) ."
IgnoreExitCode="true"
IgnoreStandardErrorWarningFormat="true" />
- <Exec Command="tar -C $(HostFxrPublishRoot) -czf $(PackagesOutDir)$(HostFxrCompressedFile) ."
+ <Exec Command="tar -C $(HostFxrPublishRoot) -czf $(AssetOutputPath)$(HostFxrCompressedFile) ."
IgnoreExitCode="true"
IgnoreStandardErrorWarningFormat="true" />
- <Exec Command="tar -C $(SharedFrameworkPublishRoot) -czf $(PackagesOutDir)$(SharedFrameworkCompressedFile) ."
+ <Exec Command="tar -C $(SharedFrameworkPublishRoot) -czf $(AssetOutputPath)$(SharedFrameworkCompressedFile) ."
IgnoreExitCode="true"
IgnoreStandardErrorWarningFormat="true" />
- <Exec Command="tar -C $(SharedFrameworkPublishSymbolsDir) -czf $(PackagesOutDir)$(SharedFrameworkSymbolsCompressedFile) ."
+ <Exec Command="tar -C $(SharedFrameworkPublishSymbolsDir) -czf $(AssetOutputPath)$(SharedFrameworkSymbolsCompressedFile) ."
IgnoreExitCode="true"
IgnoreStandardErrorWarningFormat="true" />
- <Error Condition="!Exists('$(PackagesOutDir)$(CombinedCompressedFile)')" Message="Unable to create $(PackagesOutDir)$(CombinedCompressedFile)" />
- <Error Condition="!Exists('$(PackagesOutDir)$(HostFxrCompressedFile)')" Message="Unable to create $(PackagesOutDir)$(HostFxrCompressedFile)" />
- <Error Condition="!Exists('$(PackagesOutDir)$(SharedFrameworkCompressedFile)')" Message="Unable to create $(PackagesOutDir)$(SharedFrameworkCompressedFile)" />
- <Error Condition="!Exists('$(PackagesOutDir)$(SharedFrameworkSymbolsCompressedFile)')" Message="Unable to create $(PackagesOutDir)$(SharedFrameworkSymbolsCompressedFile)" />
+ <Error Condition="!Exists('$(AssetOutputPath)$(CombinedCompressedFile)')" Message="Unable to create $(PackagesOutDir)$(CombinedCompressedFile)" />
+ <Error Condition="!Exists('$(AssetOutputPath)$(HostFxrCompressedFile)')" Message="Unable to create $(PackagesOutDir)$(HostFxrCompressedFile)" />
+ <Error Condition="!Exists('$(AssetOutputPath)$(SharedFrameworkCompressedFile)')" Message="Unable to create $(PackagesOutDir)$(SharedFrameworkCompressedFile)" />
+ <Error Condition="!Exists('$(AssetOutputPath)$(SharedFrameworkSymbolsCompressedFile)')" Message="Unable to create $(PackagesOutDir)$(SharedFrameworkSymbolsCompressedFile)" />
</Target>
<Import Project="windows\package.targets" />
</ItemGroup>
<PropertyGroup>
- <PackArgs>--no-restore --no-build --output $(PackagesOutDir)</PackArgs>
+ <PackArgs>--no-restore --no-build --output $(PackageOutputPath)</PackArgs>
<PackArgs>$(PackArgs) $(MSBuildPassThroughPropertyList) /p:BaseOutputPath=$(IntermediateOutputForPackaging)</PackArgs>
</PropertyGroup>
<!-- Specify a separate 'packages' directory in case we are building an already built version of Microsoft.NETCore.App and the $(PackagesDir)
already contains the same version as we are building. (ex. building source-build for `2.0.0` when `2.0.0` has already shipped.
-->
- <Exec Command="$(DotnetRestoreCommandNoPackages) --source $(PackagesOutDir) --packages $(SharedFrameworkIntermediatePackagesDir) $(CommonSharedFrameworkArgs)"
+ <Exec Command="$(DotnetRestoreCommandNoPackages) --source $(PackageOutputPath) --packages $(SharedFrameworkIntermediatePackagesDir) $(CommonSharedFrameworkArgs)"
WorkingDirectory="$(SharedFrameworkSourceRoot)" />
<!-- We publish to a sub folder of the PublishRoot so tools like heat and zip can generate folder structures easier. -->
<!-- Specify a separate 'packages' directory in case we are building an already built version of Microsoft.NETCore.DotNetHost and the $(PackagesDir)
already contains the same version as we are building. (ex. building source-build for `2.0.0` when `2.0.0` has already shipped.
-->
- <Exec Command="$(DotnetRestoreCommandNoPackages) --source $(PackagesOutDir) --packages $(SharedFrameworkIntermediatePackagesDir) $(CommonLockedHostArgs)"
+ <Exec Command="$(DotnetRestoreCommandNoPackages) --source $(PackageOutputPath) --packages $(SharedFrameworkIntermediatePackagesDir) $(CommonLockedHostArgs)"
WorkingDirectory="$(LockedHostSourceRoot)" />
<Exec Command="$(DotnetToolCommand) publish --no-restore --output $(CoreHostLockedDir) $(CommonLockedHostArgs)"