Skip to content

Commit 7d003e3

Browse files
Add netcore3 support
1 parent 9fc7de8 commit 7d003e3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: src/React.Router/React.Router.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<Compile Include="..\SharedAssemblyVersionInfo.cs" />
2525
</ItemGroup>
2626

27-
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
27+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
2828
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.0.0" />
2929
<PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="2.0.0" />
3030
</ItemGroup>

Diff for: src/React.Sample.Webpack.CoreMvc/Startup.cs

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ public void Configure(IApplicationBuilder app)
5353
app.UseStaticFiles();
5454

5555
#if NETCOREAPP3_0
56+
app.UseRouting();
57+
5658
app.UseEndpoints(endpoints =>
5759
{
5860
endpoints.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}");

0 commit comments

Comments
 (0)