-
Notifications
You must be signed in to change notification settings - Fork 219
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
WIP: Add target for net9.0 for kiota tool #6006
base: main
Are you sure you want to change the base?
Conversation
@@ -3,7 +3,7 @@ | |||
<LangVersion>Latest</LangVersion> | |||
<Nullable>enable</Nullable> | |||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | |||
<TargetFramework>net8.0</TargetFramework> | |||
<TargetFrameworks>net8.0;net9.0;</TargetFrameworks> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why keep both targets if our releasing pipeline only publishes net9?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I'm unsure about this tbh. I still need to validate this first)
Given that we'll still publish this as a nuget tool, won't having the target as only net 9 break the users running the tool using net8.0?
In my head, the two targets are not for the purposes for the binaries but really for the nuget tool for users in net8.0 and 9.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in that case the -f net9.0 in the azure devops pipeline needs to be removed I believe.
@@ -2,7 +2,7 @@ | |||
<PropertyGroup> | |||
<OutputType>Exe</OutputType> | |||
<LangVersion>Latest</LangVersion> | |||
<TargetFramework>net8.0</TargetFramework> | |||
<TargetFrameworks>net8.0;net9.0;</TargetFrameworks> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question about multi-targeting
Fixes #5887
TODO