Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/Polyfill/Polyfill.targets
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@
Condition="($(LowerFrameworks.Contains('net5')) OR
$(LowerFrameworks.Contains('net6')) OR
$(LowerFrameworks.Contains('net7')) OR
$(LowerFrameworks.Contains('net8')) OR
$(LowerFrameworks.Contains('netstandard')) OR
$(LowerFrameworks.Contains('netcore')))
AND
!$(LowerFrameworks.Contains('net8'))
!$(LowerFrameworks.Contains('net9'))
AND
!$(LowerFramework.Contains('net8'))"
!$(LowerFramework.Contains('net9'))"
>true</MaxNetRequired>
<MaxNetClassicRequired>false</MaxNetClassicRequired>
<MaxNetClassicRequired
Expand Down
9 changes: 5 additions & 4 deletions target-frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,13 @@ At build time, if a project is detected to not properly multi target, then a war
Condition="($(LowerFrameworks.Contains('net5')) OR
$(LowerFrameworks.Contains('net6')) OR
$(LowerFrameworks.Contains('net7')) OR
$(LowerFrameworks.Contains('net8')) OR
$(LowerFrameworks.Contains('netstandard')) OR
$(LowerFrameworks.Contains('netcore')))
AND
!$(LowerFrameworks.Contains('net8'))
!$(LowerFrameworks.Contains('net9'))
AND
!$(LowerFramework.Contains('net8'))"
!$(LowerFramework.Contains('net9'))"
>true</MaxNetRequired>
<MaxNetClassicRequired>false</MaxNetClassicRequired>
<MaxNetClassicRequired
Expand All @@ -95,7 +96,7 @@ At build time, if a project is detected to not properly multi target, then a war
>true</MaxNetClassicRequired>
</PropertyGroup>
```
<sup><a href='/src/Polyfill/Polyfill.targets#L35-L61' title='Snippet source file'>snippet source</a> | <a href='#snippet-MaxNetRequired' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Polyfill/Polyfill.targets#L35-L62' title='Snippet source file'>snippet source</a> | <a href='#snippet-MaxNetRequired' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


Expand All @@ -119,7 +120,7 @@ For example:
Condition="$(MaxNetRequired)" />
</Target>
```
<sup><a href='/src/Polyfill/Polyfill.targets#L62-L77' title='Snippet source file'>snippet source</a> | <a href='#snippet-PolyfillValidateNugetTargets' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Polyfill/Polyfill.targets#L63-L78' title='Snippet source file'>snippet source</a> | <a href='#snippet-PolyfillValidateNugetTargets' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


Expand Down