Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit ec07f80

Browse files
committed
Auto update Microsoft.NETCore.App package version
1 parent 2e10fdc commit ec07f80

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

dependencies.props

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<PropertyGroup>
1212
<CoreFxCurrentRef>275a162bb4b3a749767b2c0a863917a1e96a0ecd</CoreFxCurrentRef>
1313
<CoreClrCurrentRef>275a162bb4b3a749767b2c0a863917a1e96a0ecd</CoreClrCurrentRef>
14+
<CoreSetupCurrentRef>13370c3f3bfe6b3c9c498234a0327dbb3ed3bd83</CoreSetupCurrentRef>
1415
<ExternalCurrentRef>9be29f5804c4798d8b51bd3fed99ea076041aeb2</ExternalCurrentRef>
1516
<ProjectNTfsCurrentRef>632844c7a2acab0893934aff6ce75e794a36a0a2</ProjectNTfsCurrentRef>
1617
<ProjectNTfsTestILCCurrentRef>632844c7a2acab0893934aff6ce75e794a36a0a2</ProjectNTfsTestILCCurrentRef>
@@ -28,6 +29,7 @@
2829
<ProjectNTfsTestILCPackageVersion>1.0.0-beta-25308-00</ProjectNTfsTestILCPackageVersion>
2930
<NETStandardPackageVersion>2.0.0-preview2-25308-01</NETStandardPackageVersion>
3031
<NETStandardPackageId>NETStandard.Library</NETStandardPackageId>
32+
<MicrosoftNETCoreAppPackageVersion>2.0.0-preview2-002093-00</MicrosoftNETCoreAppPackageVersion>
3133
<!-- Use the SNI runtime package -->
3234
<SniPackageVersion>4.4.0-beta-25007-02</SniPackageVersion>
3335
</PropertyGroup>
@@ -56,6 +58,10 @@
5658
<BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
5759
<CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
5860
</RemoteDependencyBuildInfo>
61+
<RemoteDependencyBuildInfo Include="CoreSetup">
62+
<BuildInfoPath>$(BaseDotNetBuildInfo)core-setup/$(DependencyBranch)</BuildInfoPath>
63+
<CurrentRef>$(CoreSetupCurrentRef)</CurrentRef>
64+
</RemoteDependencyBuildInfo>
5965
<RemoteDependencyBuildInfo Include="External">
6066
<BuildInfoPath>$(BaseDotNetBuildInfo)projectk-tfs/$(DependencyBranch)</BuildInfoPath>
6167
<CurrentRef>$(ExternalCurrentRef)</CurrentRef>
@@ -119,9 +125,13 @@
119125
<XmlUpdateStep Include="Sni">
120126
<Path>$(MSBuildThisFileFullPath)</Path>
121127
<ElementName>SniPackageVersion</ElementName>
122-
<!-- Pick any of the SNI runtime packages. All the runtime packages of sni will have the same version -->
123128
<PackageId>runtime.win7-x64.runtime.native.System.Data.SqlClient.sni</PackageId>
124129
</XmlUpdateStep>
130+
<XmlUpdateStep Include="CoreSetup">
131+
<Path>$(MSBuildThisFileFullPath)</Path>
132+
<ElementName>MicrosoftNETCoreAppPackageVersion</ElementName>
133+
<PackageId>Microsoft.NETCore.App</PackageId>
134+
</XmlUpdateStep>
125135
</ItemGroup>
126136

127137
<PropertyGroup>

src/SharedFrameworkValidation/SharedFrameworkValidation.proj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
<Target Name="RestorePackagesProject">
1111
<PropertyGroup>
12-
<_RuntimeFrameworkVersion>2.0.0-preview2-25303-01</_RuntimeFrameworkVersion>
13-
<_RestorePackagesCommand>"$(DotnetToolCommand)" restore $(MSBuildThisFileDirectory)\RestoreSDKProject\RestoreSDKProject.csproj /p:_RuntimeFrameworkVersion=$(_RuntimeFrameworkVersion) /p:CoreFxExpectedPrerelease=$(CoreFxExpectedPrerelease)</_RestorePackagesCommand>
12+
<_RestorePackagesCommand>"$(DotnetToolCommand)" restore $(MSBuildThisFileDirectory)\RestoreSDKProject\RestoreSDKProject.csproj /p:_RuntimeFrameworkVersion=$(MicrosoftNETCoreAppPackageVersion) /p:CoreFxExpectedPrerelease=$(CoreFxExpectedPrerelease)</_RestorePackagesCommand>
1413
</PropertyGroup>
1514
<Exec Command="$(_RestorePackagesCommand)" />
1615
</Target>

0 commit comments

Comments
 (0)