C
C#2w ago
QuaKe

✅ "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?
No description
3 Replies
Angius
Angius2w ago
As it says
MarkPflug
MarkPflug2w ago
@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
Unknown User2w ago
Message Not Public
Sign In & Join Server To View