Skip to content

Commit

Permalink
Stop targeting net472
Browse files Browse the repository at this point in the history
As the Pair to Mac agents in VS are being migrated to target .NET 8, we no longer need to target .NET Framework 4.7.2.
  • Loading branch information
emaf committed Jun 11, 2024
1 parent 4cb9dc2 commit 94c2c8c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Xamarin.MacDev/Xamarin.MacDev.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!--We only build for net4x on Windows due to open issue with strong namer package: https://github.com/dsplaisted/strongnamer/issues/58-->
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net472</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">netstandard2.0;net472</TargetFrameworks>
<TargetFramework>netstandard2.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<LangVersion>latest</LangVersion>
Expand Down

0 comments on commit 94c2c8c

Please sign in to comment.