Skip to content

Commit 7b700f9

Browse files
Add netcore3 support
1 parent f448fe7 commit 7b700f9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/React.Router/React.Router.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<Compile Include="..\SharedAssemblyVersionInfo.cs" />
2828
</ItemGroup>
2929

30-
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
30+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
3131
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.0.0" />
3232
<PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="2.0.0" />
3333
<PackageReference Include="Microsoft.Sourcelink.Github" Version="1.0.0-beta2-18618-05" PrivateAssets="All" />

src/React.Sample.Webpack.CoreMvc/Startup.cs

Lines changed: 2 additions & 0 deletions
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)