Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
Remove NuGet bug workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Sep 6, 2018
1 parent cc3aa96 commit ace850a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions build.ps1
Expand Up @@ -67,16 +67,7 @@ Get-ExternalTools

if ($Restore -and $PSCmdlet.ShouldProcess($SolutionFile, "Restore packages")) {
Write-Output "Restoring NuGet packages..."

# Workaround NuGet/Home#4790 - this gets Nerdbank.GitVersioning into the package cache
& $MSBuildCommand.Path /t:restore /nologo /m "$SolutionFolder\Windows.Core\Windows.Core.csproj"

# Now do the simple thing that SHOULD be the only requirement
& $MSBuildCommand.Path /t:restore /nologo /m $SolutionFile

# Workaround NuGet/Home#4753
& $MSBuildCommand.Path /t:restore /nologo /m "$SolutionFolder\NtDll.Tests\NtDll.Tests.csproj"
& $MSBuildCommand.Path /t:restore /nologo /m "$SolutionFolder\WtsApi32.Tests\WtsApi32.Tests.csproj"
}

if ($Build -and $PSCmdlet.ShouldProcess($SolutionFile, "Build")) {
Expand Down

0 comments on commit ace850a

Please sign in to comment.