Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add netcore3 support
  • Loading branch information
Dustin Masters committed Jun 4, 2019
commit 7136df4a5e095f83c9d71e5935bd8e41bed0d818
2 changes: 1 addition & 1 deletion src/React.Router/React.Router.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<Compile Include="..\SharedAssemblyVersionInfo.cs" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="2.0.0" />
<PackageReference Include="Microsoft.Sourcelink.Github" Version="1.0.0-beta2-19270-01" PrivateAssets="All" />
Expand Down
2 changes: 2 additions & 0 deletions src/React.Sample.Webpack.CoreMvc/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public void Configure(IApplicationBuilder app)
app.UseStaticFiles();

#if NETCOREAPP3_0
app.UseRouting();

app.UseEndpoints(endpoints =>
{
endpoints.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}");
Expand Down