✅ "You must install or update .NET to run this application"
I have .NET 8.0 installed, do I need to install 6.0 to run xstyler?
3 Replies
As it says
@QuaKe You might be able to make this work by adding/editing the *runtimeconfig.json for xstyler:
https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior
You would need to set RollForward to Major, indicating that even though xstyler was built against .NET 6, that it should be allowed to run on .NET 8. I think the breaking changes since .NET 3.1 have been so minimal that it is extremely unlikely that there would be an incompatibility. In my opinion, all .NET tools should default to Rollforward=Major in the .csproj file, but it looks like xstyler doesn't do that.
Select which .NET version to use - .NET
Learn how .NET automatically finds and chooses runtime versions for your program. Additionally, this article teaches you how to force a specific version.
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View