-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
dotnet update #4585
Comments
/cc @richlander @gkhanna79 @piotrpMSFT |
Since |
👍 |
... agreed ... please ... 👍 for |
We can't have install mean nuget and update mean updating the CLI. Also, you shouldn;t be installing via a package manager and updating via the CLI. That's pretty weird. |
??? update != update-self "deploys distribution packages" and "package manager" ... I'll read about tomorrow. My current process of updating via MSI is a pain, so I need to move to a better process with daily dotnet tooling upgrades. |
@davidfowl By "package manager," do you mean VS package manager? If so, I'm using VS Code right now. I'm installing |
No, MSI on windows, apt-get on debian and pkg on OSX. If you use those installers to get the first dotnet and you update dotnet via the built in "self update", only bad things can happen. |
I see. So my process is ok ... just tedious, i.e., downloading and installing MSI's as they become available. It will be nice when the |
👎 on the OP's request, this should be handled not by the tool itself, but by whatever mechanism is responsible for delivering the tool. And I hope that will eventually mean powershell package management on Windows. I agree with @guardrex that manually visiting some web site and downloading some msi and double clicking it is a super lame acquisition story, especially in 2016, especially compared to other OS's. |
👎 cli tool should not do a package manager or installers job. Some tools like PHP's composer do that but we should not be following bad precedence. |
I don't see us doing this, really. One of the main principles of this toolset is that we want to rely on each OS' native install story, as it is baked pretty well and as all of the users of a given OS are familiar with it (for better or for worse). @davidfowl said it right, if we go down this route, we may end up in all kinds of weird situations that would be all-around badness. PowerShell package management is definitely an option, there is an issue that mentions that on here, I believe it is dotnet/cli#1064. If you want to decrease the problem of installing the MSI, you can always use the zips and some scripting to automate the local install by essentially overwriting the tools in a well-known location that you have env variables pointed to. |
@blackdwarf Can you admit that looking at a webpage ... comparing the version to what you have installed (if you can remember) ... downloading manually (with some command or clicking on something) ... and running the installer (from wherever the hell the installer ends up) ... can you see the iNsaNitY of all of this when you have almost daily builds of the tools and your trying to use VS Code because the VS experience is .. well ... about like going to the dentist? See what I mean? This is a waste of my time. |
@guardrex completely not in favor of starting a flame war or debate over this but just adding my opinion. |
@factormystic what is required for the powershell package/chocolatey options? I admit not knowing what is required to make that work. @guardrex as @shahid-pk said, living on the bleeding edge does require some effort. :) You can also take a look at the install.ps1 script in this repo to see if it can help you with this predicament. |
@shahid-pk @blackdwarf ... no, no ... if I gotta do what I gotta do ... i'm all good. I have one |
@guardrex Switch to Linux where we've had package managers for ages, the torture will stop! |
@andschwa do you also give out cookies? :) All jokes aside, since we had this discussion, I would close down this issue if you all agree. Of course, would love to hear from @factormystic about what it takes to create a Chocolatey package... |
@blackdwarf One free fortune cookie with every new terminal session 🍪 |
@andschwa ROFL. :) |
A tool like nvm would be great. In production one often want to freeze a version of the runtime, no matter it is buggy or what, until the application can be tested with another version, and then switched. dnvm is trying to do the same job, which is a good news, however I still do not understand why this seems to be strongly tied to ASP.NET... |
Well, we've decided that we will not use this, so closing. |
Add default values for properties used in the property pages
…0200521.3 (#4585) Microsoft.Build.Localization , Microsoft.Build From Version 16.7.0-preview-20271-02 -> To Version 16.7.0-preview-20271-03 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
We need to discuss whether having a command to update the CLI tooling to the latest stable/unstable version is useful.
Relies on information from #4582 somewhat.
The text was updated successfully, but these errors were encountered: