Skip to content

Commit

Permalink
Added instructions for targeting .Net 6 to WebEid.AspNetCore.Example.…
Browse files Browse the repository at this point in the history
…csproj file

Signed-off-by: Mihkel Kivisild [email protected]
  • Loading branch information
Mihkel Kivisild committed Jul 2, 2024
1 parent b3de3d0 commit dbf9bec
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/WebEid.AspNetCore.Example/WebEid.AspNetCore.Example.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<!--To switch to .NET 6: set TargetFramework to net6.0 -->
<TargetFramework>net8.0</TargetFramework>
<UserSecretsId>aspnet-web_eid_asp_dotnet_example-3FF31439-FDC0-4164-B154-03E005FE96CD</UserSecretsId>
<RootNamespace>WebEid.AspNetCore.Example</RootNamespace>
Expand All @@ -11,12 +12,17 @@
</PropertyGroup>

<ItemGroup>
<!-- To switch to .NET 6: Comment out the lines below -->
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.6" NoWarn="NU1605" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.6" NoWarn="NU1605" />
<PackageReference Include="Microsoft.Identity.Web" Version="2.19.1" />
<PackageReference Include="Microsoft.Identity.Web.UI" Version="2.19.1" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.20.1" />
<!-- To switch to .NET 6: Uncomment the lines below -->
<!--<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.31" NoWarn="NU1605" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="6.0.31" NoWarn="NU1605" />-->

<PackageReference Include="Microsoft.Identity.Web" Version="2.20.0" />
<PackageReference Include="Microsoft.Identity.Web.UI" Version="2.20.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="System.Runtime.Caching" Version="8.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.3" />
<PackageReference Include="WebEid.Security" Version="1.1.0" />
Expand Down

0 comments on commit dbf9bec

Please sign in to comment.