Skip to content

Update Arcade TFMs according to TFM docs - #14332

Merged
ViktorHofer merged 4 commits into
mainfrom
UpdateTFMsAndCopyrightHeaders
Jan 8, 2024
Merged

ViktorHofer merged 4 commits into
mainfrom
UpdateTFMsAndCopyrightHeaders

Conversation

@ViktorHofer

@ViktorHofer ViktorHofer commented Jan 2, 2024 •

Copy link
Copy Markdown
Member
  • Use "Tool" floating TFM properties for msbuild tasks and tools, i.e. Microsoft.DotNet.Arcade.Sdk.
  • Use "Minimum" floating TFM properties for libraries that support previous framework versions, i.e. XUnitExtensions.
  • Use "Current" floating TFM properties for libraries that support only the current framework version.

@ViktorHofer ViktorHofer self-assigned this Jan 2, 2024

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The library was marked as packable but never got consumed anywhere else than directly in Arcade.Sdk.csproj. It doesn't make sense to be packaged up.

- Use "Tool" floating TFM properties for msbuild tasks and tools,
  i.e. Microsoft.DotNet.Arcade.Sdk.
- Use "Minimum" floating TFM properties for libraries that support
  previous framework versions, i.e. XUnitExtensions.
- Use "Current" floating TFM properties for libraries that support
  only the current framework version.

Remove "NetToolMinimum" which isn't used and not necessary as our
tools/tasks don't multi-target.
@ViktorHofer
ViktorHofer force-pushed the UpdateTFMsAndCopyrightHeaders branch from 04eed4d to 0326de2 Compare January 2, 2024 13:52
akoeplinger
akoeplinger previously approved these changes Jan 8, 2024
@ViktorHofer
ViktorHofer requested a review from mmitche January 8, 2024 09:23
@ViktorHofer
ViktorHofer merged commit bf59935 into main Jan 8, 2024
@ViktorHofer
ViktorHofer deleted the UpdateTFMsAndCopyrightHeaders branch January 8, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants