Skip to content

Commit 5c1fa7c

Browse files
committed
build(.NET): Update target framework
1 parent c90b083 commit 5c1fa7c

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

Yubico.Core/src/Yubico.Core.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License. -->
1919
<RootNamespace></RootNamespace>
2020

2121
<!-- Multi-target build -->
22-
<TargetFrameworks>netstandard2.0;netstandard2.1;net47</TargetFrameworks>
22+
<TargetFrameworks>netstandard2.0;netstandard2.1;net472</TargetFrameworks>
2323
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2424

2525
<!-- Suppressed warnings-->
@@ -127,7 +127,6 @@ limitations under the License. -->
127127
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
128128
</PackageReference>
129129
<PackageReference Include="System.Memory" Version="4.6.3" />
130-
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
131130
<PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" />
132131
<!-- The wildcard version tag allows us to include the latest minor and pre-release versions -->
133132
<PackageReference Include="Yubico.NativeShims" Version="1.*-*" />

Yubico.NativeShims/Yubico.NativeShims.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</description>
1313
<readme>docs/readme.md</readme>
1414
<dependencies>
15-
<group targetFramework=".NETFramework4.7" />
15+
<group targetFramework=".NETFramework4.7.2" />
1616
<group targetFramework="netstandard2.0" />
1717
</dependencies>
1818
</metadata>
@@ -32,9 +32,9 @@
3232
<file src="linux-arm64/libYubico.NativeShims.so" target="runtimes/linux-arm64/native/libYubico.NativeShims.so" />
3333

3434
<!-- Support files -->
35-
<file src="msbuild/Yubico.NativeShims.targets" target="build/net47/Yubico.NativeShims.targets" />
36-
<file src="msbuild/Yubico.NativeShims.targets" target="buildTransitive/net47/Yubico.NativeShims.targets" />
37-
<file src="msbuild/_._" target="lib/net47/_._" />
35+
<file src="msbuild/Yubico.NativeShims.targets" target="build/net472/Yubico.NativeShims.targets" />
36+
<file src="msbuild/Yubico.NativeShims.targets" target="buildTransitive/net472/Yubico.NativeShims.targets" />
37+
<file src="msbuild/_._" target="lib/net472/_._" />
3838
<file src="msbuild/_._" target="lib/netstandard20/_._" />
3939
<file src="readme.md" target="docs/" />
4040
</files>

Yubico.YubiKey/src/Yubico.YubiKey.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License. -->
2020
As of 2020, netstandard2.0 allows us to reach the widest audience while providing a large
2121
enough set of the .NET library to be productive.
2222
-->
23-
<TargetFrameworks>netstandard2.0;netstandard2.1;net47</TargetFrameworks>
23+
<TargetFrameworks>netstandard2.0;netstandard2.1;net472</TargetFrameworks>
2424

2525
<RootNamespace></RootNamespace>
2626

@@ -125,13 +125,13 @@ limitations under the License. -->
125125
<PackageReference Include="System.Formats.Asn1" Version="9.0.3" />
126126

127127
<!-- Remove ExcludeAssets once the package supports netcoreapp and net462 properly -->
128-
<PackageReference Include="System.Formats.Cbor" Version="7.0.0" ExcludeAssets="buildtransitive" />
128+
<PackageReference Include="System.Formats.Cbor" Version="9.0.6" ExcludeAssets="buildtransitive" />
129129
<ProjectReference Include="..\..\Yubico.Core\src\Yubico.Core.csproj" />
130130

131131
</ItemGroup>
132132

133-
<!-- This is in order to use the HttpUtility.ParseQueryString in .NET47 -->
134-
<ItemGroup Condition="'$(TargetFramework)' == 'net47'">
133+
<!-- This is in order to use the HttpUtility.ParseQueryString in .net472 -->
134+
<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
135135
<Reference Include="System.Web" />
136136
</ItemGroup>
137137

0 commit comments

Comments
 (0)