-
Notifications
You must be signed in to change notification settings - Fork 475
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
global.json should allow comments #411
Comments
Hi, @Porges ! Thanks for the issue, we will take a look. |
ref: #254 |
I have an action that wraps this one and adds support for global.json comments (plus a few other things). It's a little out of date and needs to be updated to v3 of actions/setup-dotnet, but I use it in all my repos and it's been working fine for them. If you don't want to use this you could also copy the steps to strip the comments and then revert the change to any of your workflows. |
Hi, @xt0rted 👋 Thanks for the comment! Actually |
Thank you for pointing out the issue! Fix is on its way and will be available in the closest release. |
It would be nice if you added a top level property to store the path for one master global.json file so you could just create symbolic links for any other directory. Then if want to change the SDK globally you can just toggle that one file. |
Hi, @karlpothast 👋 Thank you for the comment! May I ask you to create a separate feature request for the functionality you proposed? It'd be better in terms of tracking and you could add more context/description of the feature there. |
Thank you for replying so quickly @IvanZosimov. Actually after reviewing the overview specs I realized that the multi-line comment feature will work just fine for me. |
Description:
Per the documentation, the
global.json
file allows comments. Adding a comment to the file causessetup-dotnet
to fail to parse it.Task version:
v3
Platform:
Runner type:
Repro steps:
Add a comment to the
global.json
file.Expected behavior:
The file should still parse.
Actual behavior:
The file does not parse.
The text was updated successfully, but these errors were encountered: