Install ASP.NET Core runtime (#1291)

This will make sure the build script includes the ASP.NET Core runtime
when running on local .NET. The effect of this is that our test projects
and apps will 'roll forward' unto the newest runtime without us
hardcoding it.

We can't yet rely on 2.1.3 -  but we can just bump up a version number when it's available.
This commit is contained in:
Ryan Nowak 2018-08-10 20:35:28 -07:00 committed by GitHub
parent a05cb42845
commit 277e1b4702
2 changed files with 8 additions and 0 deletions

View File

@ -4,9 +4,12 @@
</PropertyGroup>
<PropertyGroup Label="Package Versions"><!-- Used only in development when running the template contents directly from source -->
<AspNetCorePackageVersion>2.1.0</AspNetCorePackageVersion>
<AspNetCoreRuntimeVersion>2.1.2</AspNetCoreRuntimeVersion>
<BenchmarkDotNetPackageVersion>0.10.13</BenchmarkDotNetPackageVersion>
<InternalAspNetCoreSdkPackageVersion>2.1.3-rtm-15811</InternalAspNetCoreSdkPackageVersion>
<MicrosoftAspNetCoreBenchmarkRunnerSourcesPackageVersion>2.2.0-preview1-34576</MicrosoftAspNetCoreBenchmarkRunnerSourcesPackageVersion>
<MicrosoftNETCoreApp20PackageVersion>2.0.9</MicrosoftNETCoreApp20PackageVersion>
<MicrosoftNETCoreApp21PackageVersion>2.1.2</MicrosoftNETCoreApp21PackageVersion>
<SignalRPackageVersion>1.0.0</SignalRPackageVersion>
<TemplateBlazorPackageVersion>0.6.0-preview1-20180807.1</TemplateBlazorPackageVersion>
<RazorPackageVersion>2.1.0</RazorPackageVersion>

View File

@ -33,4 +33,9 @@
<DotNetCoreRuntime Include="$(MicrosoftNETCoreApp20PackageVersion)" />
<DotNetCoreRuntime Include="$(MicrosoftNETCoreApp21PackageVersion)" />
</ItemGroup>
<ItemGroup>
<AspNetCoreRuntime Include="$(AspNetCoreRuntimeVersion)" />
</ItemGroup>
</Project>