Skip to content

Commit

Permalink
Target .NET Framework 4.6.2 instead of 4.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Dec 20, 2023
1 parent 50039f6 commit fed586c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/Auth0.AuthenticationApi/Auth0.AuthenticationApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<AssemblyTitle>Auth0.AuthenticationApi</AssemblyTitle>
<AssemblyName>Auth0.AuthenticationApi</AssemblyName>
<PackageId>Auth0.AuthenticationApi</PackageId>
<TargetFrameworks>netstandard2.0;net452</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
<NetStandardImplicitPackageVersion>2.0.3</NetStandardImplicitPackageVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\build\Auth0NetStrongName.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Auth0.Core\Auth0.Core.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net452'">
<ItemGroup Condition="'$(TargetFramework)'=='net462'">
<Reference Include="System.Net.Http" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ private static HttpContent CreateFormUrlEncodedContent(IDictionary<string, strin

private static string CreateAgentString()
{
#if NET452
var target = "NET452";
#if NET462
var target = "NET462";
#endif
#if NETSTANDARD2_0
var target = "NETSTANDARD2.0";
Expand Down
4 changes: 2 additions & 2 deletions src/Auth0.Core/Auth0.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AssemblyTitle>Auth0.Core</AssemblyTitle>
<AssemblyName>Auth0.Core</AssemblyName>
<PackageId>Auth0.Core</PackageId>
<TargetFrameworks>netstandard2.0;net452</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
<NetStandardImplicitPackageVersion>2.0.3</NetStandardImplicitPackageVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\build\Auth0NetStrongName.snk</AssemblyOriginatorKeyFile>
Expand All @@ -15,7 +15,7 @@
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net452'">
<ItemGroup Condition="'$(TargetFramework)'=='net462'">
<Reference Include="System.Net.Http" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions src/Auth0.ManagementApi/Auth0.ManagementApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<AssemblyTitle>Auth0.ManagementApi</AssemblyTitle>
<AssemblyName>Auth0.ManagementApi</AssemblyName>
<PackageId>Auth0.ManagementApi</PackageId>
<TargetFrameworks>netstandard2.0;net452</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
<NetStandardImplicitPackageVersion>2.0.3</NetStandardImplicitPackageVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\build\Auth0NetStrongName.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Auth0.Core\Auth0.Core.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net452'">
<ItemGroup Condition="'$(TargetFramework)'=='net462'">
<Reference Include="System.Net.Http" />
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Auth0.ManagementApi/ManagementApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ public void Dispose()

private static string CreateAgentString()
{
#if NET452
var target = "NET452";
#if NET462
var target = "NET462";
#endif
#if NETSTANDARD2_0
var target = "NETSTANDARD2.0";
Expand Down

0 comments on commit fed586c

Please sign in to comment.