-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
can not run in linux while dotnet-sdk 7/8 installed #447
Comments
Looks like it would be resolved if this #419 is merged, but that PR looks abandoned. (I'd also like support for > 6) |
As I commented on #419, a better way to fix this would be via a RollForward=Major policy: https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior Indeed, users should already be able fix this themselves my adding it to a .runtimeconfig.json file adjacent to the xstyler exe, which should allow it to run on newer framework versions when 6.0 isn't installed. |
finally I think we should upgrade to dotnet9 and build this with Aot, |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
if we install dotnet-script cli tool , we can run dotnet-script within dotnet sdk 6/7/8
Screenshots
![image](https://private-user-images.githubusercontent.com/1876302/283318309-7d52ae5e-dffe-4f98-bf7d-ff90a52dccce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDg1MjcsIm5iZiI6MTczODk0ODIyNywicGF0aCI6Ii8xODc2MzAyLzI4MzMxODMwOS03ZDUyYWU1ZS1kZmZlLTRmOTgtYmY3ZC1mZjkwYTUyZGNjY2UucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTcxMDI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDc3M2YzMGE4N2ZkNjljZjIyMjIzYzJhN2VhY2VhMWRiODBhNDA5YTRhODVkZTI5NGNmMTg5ZTlhYWI5ODE1MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.8vbZ-f4NJIG9xqtN27CRdGD6pgR2qYOoU5S773hTZNo)
External Configuration
Version Info (please complete the following information):
Package Id Version Commands
csharpier 0.25.0 dotnet-csharpier
dotnet-script 1.5.0 dotnet-script
xamlstyler.console 3.2206.4 xstyler
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: