-
Notifications
You must be signed in to change notification settings - Fork 382
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
Update SDK version in global.json #1085
Comments
Yeah thanks saw that when updating the PR #1086 👍 When you go to the Microsoft site directly it can't be found under download or the downloads archive. |
Sounds awesome. We have a Windows docker file here already that we use for the release process btw and simple docker examples are here but a docker image would be nice. But as you said yourself, one can just use a newer version of the version of the SDK and it should still build, the version does not need to be matching, therefore I do not understand the issue that you face |
The main issue is that it doesn't seem to build on 2.1.403, when I try to build it throws an error. I do not have the exact error right now but concluded that it was because 2.1.403 wasn't a patch release of 2.1.101. Since the docs say it then fails:
The Dockerfile is on my work PC (not accessible at the moment) but I will create reproducible scenario tomorrow morning to explain the issue a bit better :) |
Ah, I should have read in more detail, I uninstalled |
P.S. Please also watch PR #1082 because after that |
PR has been merged, will therefore close, please re-open if there is an issue |
Summary of the new feature
Update the SDK version in the global.json file since Microsoft offers no download for the 2.1.101 version or compatible patch release (as far as I could find). See on the downloads page that 2.1.300 is lowest offered version.
Right now I cannot build PSScriptAnalyzer without replacing the global.json with an empty json (removing doesn't work because of this).
Proposed technical implementation details (optional)
Change the global.json to:
This should be no problem since this version is included in the Ubuntu image on AppVeyor (see the software list).
Since 2.1.403 is a patch release of 2.1.401 it should work on systems with 2.1.403 installed. See the matching rules of the global.json.
What is the latest version of PSScriptAnalyzer at the point of writing
v1.17.1
The text was updated successfully, but these errors were encountered: