Skip to content

Commit 17bfadc

Browse files
author
Nate McMaster
committed
Upgrade NuGet and MSBuild packages to match the 2.2.0 SDK
1 parent c4ebbf5 commit 17bfadc

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

NuGet.Config

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<configuration>
33
<packageSources>
44
<clear />
5-
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
5+
<!-- NuGet feeds should be set in build/sources.props, not here -->
66
</packageSources>
77
</configuration>

build/common.props

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project>
2+
<Import Project="sources.props" />
23
<Import Project="dependencies.props" />
34
<Import Project="..\version.props" />
45

build/dependencies.props

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
</PropertyGroup>
1818

1919
<!--
20-
Attempt to keep these mostly aligned with https://github.com/dotnet/sdk/blob/master/build/DependencyVersions.props
20+
Attempt to keep these mostly aligned with https://github.com/dotnet/cli/blob/master/build/DependencyVersions.props
2121
and with the version of MSBuild used by KoreBuild.
2222
MSBuild will prefer the assemblies that ship in the .NET Core SDK and MSbuild. The dependency versions here don't matter
2323
as long as the version we compile for is binary compatible with what the .NET Core SDK uses.
2424
-->
2525
<PropertyGroup>
26-
<MicrosoftBuildVersion>15.3.409</MicrosoftBuildVersion>
26+
<MicrosoftBuildVersion>15.5.0-preview-000172-1103937</MicrosoftBuildVersion>
2727
<JsonNetInMSBuildVersion>9.0.1</JsonNetInMSBuildVersion>
28-
<NuGetInMSBuildVersion>4.3.0</NuGetInMSBuildVersion>
28+
<NuGetInMSBuildVersion>4.5.0-preview2-4529</NuGetInMSBuildVersion>
2929
</PropertyGroup>
3030
</Project>

build/sources.props

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project>
2+
<Import Project="$(DotNetRestoreSourcePropsPath)" Condition="'$(DotNetRestoreSourcePropsPath)' != ''"/>
3+
4+
<PropertyGroup>
5+
<RestoreSources>$(DotNetRestoreSources)</RestoreSources>
6+
<RestoreSources Condition="'$(DotNetBuildOffline)' != 'true'">
7+
$(RestoreSources);
8+
https://dotnet.myget.org/F/nuget-build/api/v3/index.json;
9+
https://dotnet.myget.org/F/msbuild/api/v3/index.json;
10+
https://api.nuget.org/v3/index.json;
11+
</RestoreSources>
12+
</PropertyGroup>
13+
</Project>

0 commit comments

Comments
 (0)