Long path woes

This commit is contained in:
John Luo 2017-04-14 10:50:24 -07:00
parent 9e92b1189b
commit da403d4d16
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>Microsoft.Internal.AspNetCore.PackageCache</id>
<id>PackageStore.Int</id>
<authors>Microsoft</authors>
<description>Runtime Package Store for ASP.NET Core</description>
<description>Runtime Package Store for ASP.NET Core, for internal builds</description>
</metadata>
<files>
<file src="*.zip" target="" />

View File

@ -33,9 +33,9 @@
<WorkingDirectory>$(MetaPackagePath)bin\work</WorkingDirectory>
<OutputPath>$(MetaPackagePath)bin\packageCache\</OutputPath>
<ArtifactsDir>$(RepositoryRoot)artifacts\</ArtifactsDir>
<OutputZip Condition="'$(OSPlatform)' == 'Windows'">$(ArtifactsDir)Microsoft.Internal.AspNetCorePackageCache.win-$(VersionSuffix).zip</OutputZip>
<OutputZip Condition="'$(OSPlatform)' == 'Linux'">$(ArtifactsDir)Microsoft.Internal.AspNetCorePackageCache.linux-$(VersionSuffix).zip</OutputZip>
<OutputZip Condition="'$(OSPlatform)' == 'macOS'">$(ArtifactsDir)Microsoft.Internal.AspNetCorePackageCache.osx-$(VersionSuffix).zip</OutputZip>
<OutputZip Condition="'$(OSPlatform)' == 'Windows'">$(ArtifactsDir)Build.RuntimeStore.win-$(VersionSuffix).zip</OutputZip>
<OutputZip Condition="'$(OSPlatform)' == 'Linux'">$(ArtifactsDir)Build.RuntimeStore.linux-$(VersionSuffix).zip</OutputZip>
<OutputZip Condition="'$(OSPlatform)' == 'macOS'">$(ArtifactsDir)Build.RuntimeStore.osx-$(VersionSuffix).zip</OutputZip>
</PropertyGroup>
<ItemGroup>
@ -56,7 +56,7 @@
<ZipArchive File="$(OutputZip)" SourceFiles="@(PackageCacheFiles)" WorkingDirectory="$(OutputPath)" />
<!--Drop a nuspec file in artifacts for packing zip files into a nupkg-->
<Copy SourceFiles="$(RepositoryRoot)build\Microsoft.Internal.AspNetCore.PackageCache.nuspec" DestinationFolder="$(ArtifactsDir)" Condition="'$(OSPlatform)' == 'Windows'" />
<Copy SourceFiles="$(RepositoryRoot)build\Build.RuntimeStore.nuspec" DestinationFolder="$(ArtifactsDir)" Condition="'$(OSPlatform)' == 'Windows'" />
<WriteLinesToFile File="$(ArtifactsDir)version.txt" Lines="$(VersionSuffix)" Overwrite="true" Condition="'$(OSPlatform)' == 'Windows'" />
</Target>
</Project>