Browse Source

upgrade to netcoreapp3.0

pull/1/head
Laura Hausmann 2 years ago
parent
commit
94a83c64f6
2 changed files with 4 additions and 11 deletions
  1. +3
    -1
      Startup.cs
  2. +1
    -10
      webmusic.csproj

+ 3
- 1
Startup.cs View File

@ -33,7 +33,9 @@ namespace webmusic
});
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
services.Configure<MvcOptions>(options => { options.EnableEndpointRouting = false; });
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Latest);
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.


+ 1
- 10
webmusic.csproj View File

@ -1,20 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<DebugType>full</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.CookiePolicy" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.HttpsPolicy" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
</ItemGroup>
<ItemGroup>
<Compile Remove="music\**" />
</ItemGroup>


Loading…
Cancel
Save