-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Target to net 7 and 8 in addition to 6 #419
base: master
Are you sure you want to change the base?
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Thank you for the PR! A couple questions, but this otherwise generally looks good.
...on.Rider/dotnet/Xavalon.XamlStyler.Extension.Rider/Xavalon.XamlStyler.Extension.Rider.csproj
Outdated
Show resolved
Hide resolved
src/XamlStyler.Extension.Windows.VS2019/XamlStyler.Extension.Windows.VS2019.csproj
Outdated
Show resolved
Hide resolved
Given that .NET 7 goes out of support on May 14, 2024, I'd suggest adding only .NET 8 instead of 7 and 8. Other than that, great that you're contributing this! |
@grochocki having .NET 8 support would really be a welcome update, so that users are not forced to install .NET 6 to run the XamlStyler CLI. Would it be an idea to do the targetframework update to .NET 8 independent of the other changes in this PR (dependency to Newtonsoft.Json, change in VS SDK version, (In the meantime, I can add a .NET 8 version of the CLI to my private nuget feed as a workaround) |
@@ -0,0 +1,5 @@ | |||
{ | |||
"sdk": { | |||
"allowPrerelease": true |
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.
is this still needed?
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.
Makes no difference for .NET 8, but when .NET 9 comes out, we'll need this. Some people including myself switch to preview early, so I vote to leave this in.
hi,all,can any body tell that what block this, thanks |
Instead of multi-targeting, I'd suggest adding a https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior |
We have seen the same issue with XamlStyler and think it would be great if RollForward Major was supported as @MarkPflug mentions. |
@MarkPflug That works too. @grochocki what's your opinion? |
anyupdate? |
What can we do to get this MR completed? |
You can just use in order to avoid installing .NET 6: dotnet tool run xstyler --allow-roll-forward |
Description:
Fixes # (issue)
Checklist: