diff --git a/NuGetProvider.csproj b/NuGetProvider.csproj index 973d369..5da6549 100644 --- a/NuGetProvider.csproj +++ b/NuGetProvider.csproj @@ -1,7 +1,7 @@ - net452;netstandard2.0 + net472; true true Microsoft.PackageManagement.NuGetProvider @@ -22,7 +22,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -55,7 +55,7 @@ - + @@ -65,7 +65,7 @@ portable - + $(DefineConstants) diff --git a/build.ps1 b/build.ps1 index e78c438..c1bc932 100644 --- a/build.ps1 +++ b/build.ps1 @@ -2,8 +2,8 @@ param( [Parameter(Mandatory=$false)] [string] - [ValidateSet('net452', 'netstandard2.0', 'all')] - $Framework = 'net452', + [ValidateSet('net472', 'netstandard2.0', 'all')] + $Framework = 'net472', [Parameter(Mandatory=$false)] [string] @@ -17,7 +17,7 @@ param( & "$PSScriptRoot\Generate-Resources.ps1" if ($Framework -eq 'all') { - $frameworks = @('net452', 'netstandard2.0') + $frameworks = @('net472', 'netstandard2.0') } else { $frameworks = @($Framework) } @@ -26,7 +26,7 @@ foreach ($f in $frameworks) { dotnet build --framework $f --configuration $Configuration if ($Destination) { $copyDir = $Destination.Replace("{Root}", $OneGetRepositoryRoot) - if ($f -eq 'net452') { + if ($f -eq 'net472') { $copyDir += "\\fullclr" } else { $copyDir += "\\coreclr\\$f"