Closed istvan2015 closed 5 years ago
@istvan2015 : Thanks for your contribution! The author, @elbatk, has been notified to review your proposed change.
@istvan2015 : Thanks for your contribution! The author, @elbatk, has been notified to review your proposed change.
Reviewing this soon! Thanks @istvan2015
Great, thank you. Let me know what you think
@istvan2015 : Thanks for your contribution! The author, @elbatk, has been notified to review your proposed change.
Outside of what you changed, but I think https://github.com/MicrosoftDocs/vsts-docs/blame/02752afb793a1583b7464ac4ce9c79211e2a90d4/docs/artifacts/tutorials/private-powershell-library.md#L203 needs to be switched, since it is also referencing the v3 endpoint
@nschonni Thank you for the input. As far as I am aware and as far as I have tested, that is not true, because I was able to successfully connect NuGet using the v3 endpoint - which is actually whichever endpoint the developers have to use for their current Azure DevOps setup.
However, your comment did open my eyes to the fact that the line you mentioned is correct, but I need to add another line below to include the example URL for the old visualstudio.com
versions as well, exactly as @alexmullans pointed out.
I hope that makes sense
PowerShellGallery doesn't support NuGet v3, only v2. That is mentioned in other parts of the article
I might be mixing up how this particular v3 endpoint is being used. Maybe publishing to v3 is fine, as long as the pull is done from v2
I might be mixing up how this particular v3 endpoint is being used. Maybe publishing to v3 is fine, as long as the pull is done from v2
Well, you are right in the sense that PowerShellGallery doesn't support Nuget v3. However, that particular line (line # 203) only adds a feed to Nuget locally on the computer from which it was called, and names it PowershellModules
. That's why it works with v3, because it's simply adding a feed, you give it a name, of course it works.
Sorry if I am mistaking, I'm not trying to enforce my point of view here, just trying to explain my limited experience with these bits.
@istvan2015 : Thanks for your contribution! The author, @elbatk, has been notified to review your proposed change.
@istvan2015 thanks for the contribution, we appreciate it!
Edited private-powershell-library.md to include example for.pkgs.visualstudio.com (PS code example)