Fix shared framework restore on case-sensitive file systems by passing in all the...
authorEric Erhardt <eric.erhardt@microsoft.com>
Thu, 4 May 2017 02:27:33 +0000 (21:27 -0500)
committerEric Erhardt <eric.erhardt@microsoft.com>
Tue, 9 May 2017 15:56:09 +0000 (10:56 -0500)
Commit migrated from https://github.com/dotnet/core-setup/commit/893118db033ba8821b6bc1dbb698c68b95a64d38

src/installer/sharedFramework/sharedFramework.proj

index 818c1f9..ed85f9a 100644 (file)
     
     <PropertyGroup>
       <SharedFrameworkSourceRoot>$(MSBuildThisFileDirectory)framework</SharedFrameworkSourceRoot>
-
-      <RestoreArgs>--source $(PackagesOutDir) --packages "$(PackagesDir.TrimEnd('/\'.ToCharArray()))"</RestoreArgs>
       <CommonSharedFrameworkArgs>/p:TargetFramework=$(Framework) /p:RuntimeIdentifier=$(TargetRid) /p:RuntimeFrameworkVersion=$(SharedFrameworkNugetVersion)</CommonSharedFrameworkArgs>
     </PropertyGroup>  
 
     <RemoveDir Directories="$(SharedFrameworkNameAndVersionRoot)" />
 
-    <Exec Command="$(DotnetSdkToolCommand) restore --verbosity:diag $(RestoreArgs) $(CommonSharedFrameworkArgs)"
+    <Exec Command="$(SdkRestoreCommand) --source $(PackagesOutDir) $(CommonSharedFrameworkArgs)"
           WorkingDirectory="$(SharedFrameworkSourceRoot)" />
 
     <!-- We publish to a sub folder of the PublishRoot so tools like heat and zip can generate folder structures easier. -->