|
1 | | -<Project Sdk="Microsoft.NET.Sdk.Web"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk.Web"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFrameworks>net451;netcoreapp1.1</TargetFrameworks> |
| 4 | + <TargetFrameworks>net461;netcoreapp2.0</TargetFrameworks> |
5 | 5 | <PreserveCompilationContext>true</PreserveCompilationContext> |
6 | 6 | <AssemblyName>React.Sample.Mvc6</AssemblyName> |
7 | 7 | <OutputType>Exe</OutputType> |
8 | 8 | <PackageId>React.Sample.Mvc6</PackageId> |
9 | 9 | <NoWarn>1701</NoWarn> |
10 | | - <RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">1.1</RuntimeFrameworkVersion> |
| 10 | + <RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">2.0</RuntimeFrameworkVersion> |
11 | 11 | </PropertyGroup> |
12 | 12 |
|
13 | 13 | <ItemGroup> |
|
23 | 23 | </ItemGroup> |
24 | 24 |
|
25 | 25 | <ItemGroup> |
26 | | - <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" /> |
27 | | - <PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.1.1" /> |
28 | | - <PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.1" /> |
29 | | - <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.1" /> |
30 | | - <PackageReference Include="Microsoft.NETCore.Platforms" Version="1.1.0" /> |
31 | | - <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" /> |
32 | | - <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.1" /> |
33 | | - <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.1" /> |
34 | | - <PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.1" /> |
35 | | - <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" /> |
36 | | - <PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.0" /> |
| 26 | + <PackageReference Include="Microsoft.AspNetCore" Version="2.0.0" /> |
| 27 | + <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0" /> |
| 28 | + <PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" Version="2.0.0" PrivateAssets="All" /> |
| 29 | + <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" /> |
| 30 | + <PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.0.0" /> |
| 31 | + <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.0" PrivateAssets="All" /> |
37 | 32 | </ItemGroup> |
38 | 33 |
|
39 | | - <ItemGroup Condition=" '$(TargetFramework)' == 'net451' "> |
| 34 | + <ItemGroup Condition=" '$(TargetFramework)' == 'net461' "> |
40 | 35 | <PackageReference Include="JavaScriptEngineSwitcher.V8" Version="2.4.2" /> |
41 | 36 | <Reference Include="System" /> |
42 | 37 | <Reference Include="Microsoft.CSharp" /> |
43 | 38 | </ItemGroup> |
44 | 39 |
|
45 | | - <ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.0' "> |
| 40 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' "> |
46 | 41 | <PackageReference Include="VroomJs" Version="1.2.3" /> |
47 | 42 | </ItemGroup> |
48 | 43 |
|
|
0 commit comments