How to use latest dotnet CLI?
I've successfully set up an Appveyor build that uses "dnvm" and "dnx", but I'd like to migrate to the new dotnet cli (http://dotnet.github.io/getting-started/). Is there an Appveyor image that comes provisioned with the build linked from that page (i.e., https://dotnetcli.blob.core.windows.net/dotnet/beta/Installers/1.0.0.001598/dotnet-win-x64.1.0.0.001598.exe) or, preferably, the latest build from GitHub (https://github.com/dotnet/cli => https://dotnetcli.blob.core.windows.net/dotnet/beta/Installers/Latest/dotnet-dev-win-x64.latest.exe)?
Someone created a Chocolatey package for "dotnetcli" a few months ago, but it appears to be out-of-date/abandoned: https://chocolatey.org/packages/dotnetcli. If that were maintained, I think I would be able to use "cinst dotnetcli" in my init script.
I tried to find example projects that used dotnet-cli, but was unsuccessful. I was also unsuccessful in attempting to create an appveyor.yml that would download and install the latest dotnet-dev installer.
Has anyone gotten this to work?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 12 Apr, 2016 06:21 AM
Looks like this is what you are looking for: https://ci.appveyor.com/project/JamesSouth/imageprocessor/build/v1....
2 Posted by bgrainger on 12 Apr, 2016 06:33 PM
Thanks! That's exactly what I wanted.
3 Posted by bniemyjski on 17 May, 2016 02:03 AM
Looks like there is a sample here: https://github.com/enricosada/fsharp-dotnet-cli-samples/blob/master/appveyor.yml#L15-L20
@Feodor, considering it's rc2 can we add these images to the default vs 2015 image? It would be a huge help to a lot of people
Support Staff 4 Posted by Feodor Fitsner on 17 May, 2016 02:44 AM
Could you please clarify what images/tools should be installed and what location? How is it different from DNX (or is it just a new name)? I'm just trying to catch up with all this recent stuff.
5 Posted by bniemyjski on 17 May, 2016 03:39 AM
It's just the new cli tooling that replaced dnvm. Rc2 was released today and the tooling Msi can be downloaded from http://dot.net
Get Outlook for iOS
_____________________________
6 Posted by bniemyjski on 17 May, 2016 03:40 AM
https://www.microsoft.com/net/core#windows
Get Outlook for iOS
Support Staff 7 Posted by Feodor Fitsner on 17 May, 2016 04:03 AM
I see. Basically, we should install ".NET Core SDK" with MSI from that page which includes runtime, command line tools and tooling for VS IDE, right?
8 Posted by bniemyjski on 17 May, 2016 12:26 PM
Yes, you are correct! There is a visual studio tooling installer too (not sure if you want to run that or not, but it may help people rdping in).
9 Posted by jeavon on 17 May, 2016 01:41 PM
I would also love to see RC2 included in a new or existing AppVeyor image
Support Staff 10 Posted by Feodor Fitsner on 17 May, 2016 06:22 PM
Got it. Will schedule deployment for this week.
11 Posted by bniemyjski on 17 May, 2016 07:25 PM
Awesome! Thanks a ton! I think the sooner we can get it out there the better!
12 Posted by bniemyjski on 18 May, 2016 12:35 PM
Does anyone know if we also need the latest version of nuget? I've only come across one install script out of many that was installing the latest version,
13 Posted by bniemyjski on 18 May, 2016 12:38 PM
I'm getting reports on slack that we shouldn't have to update nuget.
14 Posted by bniemyjski on 18 May, 2016 12:41 PM
@Feodor any ideas if the image will be pushed out today or tomorrow? Just asking as it would be nice not to have to spend a few hours working on an install script.
Support Staff 15 Posted by Feodor Fitsner on 18 May, 2016 04:37 PM
Will deploy them tomorrow.
Support Staff 16 Posted by Feodor Fitsner on 20 May, 2016 05:59 AM
OK, it's been deployed.
17 Posted by michiel on 20 May, 2016 07:38 PM
Thanks, works great and I already have some nice green build results.
18 Posted by michiel on 17 Nov, 2016 01:35 PM
A new dotnet core cli was released yesterday for .net core 1.1. When will it be deployed to AppVeyor?
19 Posted by Ilya Finkelshte... on 18 Nov, 2016 04:03 AM
Hi Michiel,
Please watch this issue, CLI should be deployed as part of it.
Thanks!
--ilya.
20 Posted by Szymon on 10 Jan, 2017 01:16 PM
And what about the preview CLI( that is a msbuild based cli) ?
21 Posted by Ilya Finkelshte... on 12 Jan, 2017 03:03 AM
Can you please point to download URL (sorry for ignorance)?
--ilya.
22 Posted by Szymon on 12 Jan, 2017 11:36 AM
dotnet core preview can be obtained in two way. First by instalation of VS 2017 RC or it can be donloaded from a github page - https://github.com/dotnet/cli
23 Posted by Guido Bouman on 01 Jun, 2017 01:35 PM
@ilya or @feodor Any update on the dotnet cli 2.0.0 availability? Our tests currently fail randomly, and the 2.0 cli should solve this. (Microsoft does not plan to backport the fix to 1.x)
Support Staff 24 Posted by Feodor Fitsner on 01 Jun, 2017 04:08 PM
We were going to provide .NET SDK 2.0 Preview as part of "VS 2017 Preview" image (which is not yet available). Is this what you are looking for?
25 Posted by Guido Bouman on 01 Jun, 2017 04:45 PM
Thanks for the fast reply Feodor, that would be exactly what we're looking for.
Support Staff 26 Posted by Feodor Fitsner on 01 Jun, 2017 04:53 PM
OK, please subscribe to this issue then: https://github.com/appveyor/ci/issues/1549
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:17 AM.