Skip to content

dotnet-install scripts for 1.0.0, some questions about args #7870

Closed

Description

@enricosada

So, i want to install the .net core tools 1.0 (now is 1.0.1), using the install script (because i have a build matrix to maintain 😄 )

dotnet-install script is really important and described in docs too

https://github.com/dotnet/cli/blob/rel/1.0.0/scripts/obtain/dotnet-install.ps1

some questions:

  • is https://github.com/dotnet/cli/blob/rel/1.0.0/scripts/obtain/ the right script? also for 1.0.1and future patch versions? think so, but just to be sure
  • channel argument:
  • version, docs say if omitted, it will default to the first global.json file found in the hierarchy above the folder where the script was invoked that contains the version property. i cannot reproduce it, and connot find code who does that.

To download 1.0.1 (current .net core tools 1.0), i tried to omit channel and use 1.0.1. It download a zip https://dotnetcli.azureedge.net/dotnet/Sdk/1.0.1/dotnet-dev-win-x64.1.0.1.zip . is ok anyway, with -dev ? it's not using dotnet-1.1.1-sdk-win-x64.zip like on core download archive
Having the same url help a lot, because i am sure it's the right version.

Activity

  1. livarcocc commented on Mar 8, 2017

    @livarcocc
    Contributor

    @blackdwarf Some of the things we were talking about that we need to clean up in the scripts.

  2. thesmithee commented on Mar 8, 2017

    @thesmithee

    @enricosada some answers for you :)

    • You should use the following location: https://dot.net/v1/dotnet-install.sh and https://dot.net/v1/dotnet-install.ps1 in the future.
    • In the above the production was added as an argument. We will merge the changes back into master at some point, but in general, the above location should be used to get the scripts for v1 tools.
    • The above scripts have fixed this and other things as well.
    • Yeah, I need to remove that from the docs, it was an old behavior that we removed at some point.
  3. self-assigned this
    on Mar 8, 2017
  4. enricosada commented on Mar 12, 2017

    @enricosada
    ContributorAuthor

    @blackdwarf awesome have a script url without raw github!

  5. livarcocc commented on Jul 31, 2017

    @livarcocc
    Contributor

    I believe this has been addressed. In any case, the scripts have changed quite a bit in 2.0, we have pushed them to the location above and their inline documentation is up-to-date. We are also working on updating the online documentation.

  6. transferred this issue fromdotnet/clion Jan 31, 2020
  7. added this to the Backlog milestone on Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions