Open virzak opened 1 year ago
/azp run
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, allowPrerelease
in global.json), to unblock this?
(In the meantime, I can add a .NET 8 version of the CLI to my private nuget feed as a workaround)
hi,all,can any body tell that what block this, thanks
Instead of multi-targeting, I'd suggest adding a <RollForward>Major
to the xstyle .csproj. This would allow you to continue to build against a single framework version (6.0), but allow the tool to run on future versions without needing to be updated.
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.
Instead of multi-targeting, I'd suggest adding a
<RollForward>Major
to the xstyle .csproj. This would allow you to continue to build against a single framework version (6.0), but allow the tool to run on future versions without needing to be updated.https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior
@MarkPflug That works too. @grochocki what's your opinion?
anyupdate?
What can we do to get this MR completed?
Description:
Fixes # (issue)
Checklist: