Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build migrated System.ValueTuple #186

Merged
merged 12 commits into from
Jan 9, 2025
Prev Previous commit
Next Next commit
Add target that errors when NetMinimum becomes net47.
  • Loading branch information
carlossanlop committed Nov 25, 2024
commit 83aec4feabd20c311f1cfa390728081de5b34950
8 changes: 6 additions & 2 deletions src/System.ValueTuple/src/System.ValueTuple.csproj
ViktorHofer marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" InitialTargets="FailForNet47AsNetMinimum">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;$(NetFrameworkMinimum);net47;netcoreapp2.0</TargetFrameworks>
Expand Down Expand Up @@ -38,4 +38,8 @@
</When>
</Choose>

</Project>
<Target Name="FailForNet47AsNetMinimum" Condition="'$(NetFrameworkMinimum)' == 'net47'">
ViktorHofer marked this conversation as resolved.
Show resolved Hide resolved
<Error Text="NetMinimum is net47 now. Consider removing this implementation or the whole library." />
</Target>

</Project>
Loading