appveyor / ci

AppVeyor community support repository
https://www.appveyor.com
344 stars 66 forks source link

Visual Studio 2017 RC #1179

Closed FeodorFitsner closed 7 years ago

FeodorFitsner commented 7 years ago

After installing VS 2017 RC on top of VS 2015 base image:

  1. Install AppVeyor vstest.console logger and MSTestV2 support libraries

  2. Replace MSBuild in PATH with MSBuild 15.0

  3. Install latest NuGet 3.5

  4. Pre-cache .NET Core:

    cd %temp% md app1 cd app1 dotnet new dotnet restore dotnet run

  5. Install CMake 3.7.1

  6. Re-install Git and Git LFS

  7. Disable Bonjour Service and IpOverUsbSvc and services:

    Set-Service -Name 'Bonjour Service' -StartupType Disabled Set-Service -Name 'IpOverUsbSvc' -StartupType Disabled

  8. Apply workaround for NuGet Build Tasks

FeodorFitsner commented 7 years ago

@onovotny - what version of .NET Core is that?

clairernovotny commented 7 years ago

If you installed the RC, it should be the preview3 version as that's the latest version in the absence of a global.json file pinning the version to something different. That said, the preview2 tooling did that as well, so would be a good update to the 2015 image if you haven't done so already.

jabbera commented 7 years ago

@Rpinski @FeodorFitsner looks like that's only available in nuget 4.0 RC which isn't available as a standalone download yet: http://blog.nuget.org/20161121/introducing-nuget4.0.html

FeodorFitsner commented 7 years ago

@onovotny I haven't realized there is a newer .NET Core tooling with VS 2017. I updated Visual Studio 2017 RC image - it's pre-cached now.

FeodorFitsner commented 7 years ago

@jabbera - interesting, looks like with MSBuild 15.0 you can restore with msbuild /t:restore. Have you tried that?

kzu commented 7 years ago

plz add kzu and mobileessentials, tnx!

FeodorFitsner commented 7 years ago

@kzu - added

RehanSaeed commented 7 years ago

@FeodorFitsner Please can you add @ASP-NET-MVC-Boilerplate org account. Thanks!

FeodorFitsner commented 7 years ago

@RehanSaeed - what's a corresponding AppVeyor account name for it?

kzu commented 7 years ago

Would be nice to have an envvar with the "os" / image name used for the build ;)

IlyaFinkelshteyn commented 7 years ago

It is APPVEYOR_BUILD_WORKER_IMAGE. Updating docs now.

Rpinski commented 7 years ago

@jabbera By the way: NuGet 4.0 RC command line tool is available here: https://dotnet.myget.org/feed/nuget-build/package/nuget/NuGet.CommandLine/4.0.0-rc2-2098

FeodorFitsner commented 7 years ago

@Rpinski - tried that NuGet 4.0 RC command line and it didn't restore packages either.

RehanSaeed commented 7 years ago

@FeodorFitsner RehanSaeed

FeodorFitsner commented 7 years ago

@RehanSaeed added.

TcT2k commented 7 years ago

CMake 3.7.1 is now available and should be included for compatibility with VS 2017

FeodorFitsner commented 7 years ago

@TcT2k CMake 3.7.1 has been installed on Visual Studio 2017 RC image.

TcT2k commented 7 years ago

@FeodorFitsner Thank you, using CMake with VS2017 now works fine out of the box, see: https://ci.appveyor.com/project/TcT2k/wxwidgets/build/102

rionmonster commented 7 years ago

@FeodorFitsner

I could use an add on this as well. Github: rionmonster.

FeodorFitsner commented 7 years ago

@rionmonster - added.

SabotageAndi commented 7 years ago

@FeodorFitsner Please can you add me (Github user: @sabotageandi) and the AppVeyor user SpecFlow to this? Thanks!

FeodorFitsner commented 7 years ago

@SabotageAndi added.

gigi81 commented 7 years ago

@FeodorFitsner account name gigi81 thanks!

FeodorFitsner commented 7 years ago

@gigi81 added

acinep commented 7 years ago

Please add acinep - thanks!

SabotageAndi commented 7 years ago

@FeodorFitsner Sorry for bothering you again, but you forgot to add the SpecFlow user. It is an AppVeyor account. UserID 20274. Please add it. Thanks!

janhohenheim commented 7 years ago

Just a little reminder that we appreciate your work and that you provided the service as soon as possible.
Thanks :)

FeodorFitsner commented 7 years ago

@acinep, @SabotageAndi - added

fazouane-marouane commented 7 years ago

Hi,

I'd like to be added to this early access program. I'm using the Github account: @fazouane-marouane

Thanks 😄

FeodorFitsner commented 7 years ago

@fazouane-marouane - added

fazouane-marouane commented 7 years ago

Thanks! It's works like a charm 🎉

thatfrankdev commented 7 years ago

I'd like to try this too!

Account name: drfeelgoud

Thanks a lot!

FeodorFitsner commented 7 years ago

@drfeelgoud - added

tgjones commented 7 years ago

@FeodorFitsner I'd like to try this!

Account name: tgjones

Thanks!

FeodorFitsner commented 7 years ago

@tgjones - added

tzlaine commented 7 years ago

@FeodorFitsner Can you sign me up as well?

Username: tzlaine

Thanks in advance!

janisozaur commented 7 years ago

Can you add janisozaur and IntelOrca too, please? Thanks.

codecadwallader commented 7 years ago

@FeodorFitsner May I also please be added? codecadwallader

FeodorFitsner commented 7 years ago

@tzlaine, @janisozaur, @codecadwallader - added

ifarbod commented 7 years ago

@FeodorFitsner I would also like to try it out. My username is @ifarbod

Thanks!

xwipeoutx commented 7 years ago

I would like to give it a whirl, my username is xwipeoutx. Thanks @FeodorFitsner :)

FeodorFitsner commented 7 years ago

@ifarbod, @xwipeoutx - added

xwipeoutx commented 7 years ago

Wow, such speed, thanks!

ifarbod commented 7 years ago

Any idea why my build queue is stuck for a while in 'queued' state? link

xwipeoutx commented 7 years ago

@ifarbod Just wait, it'll get through (at least mine did) - presumably there are fewer machines in the pool.

@FeodorFitsner MSBuild is out of date - I don't think it has today's update in it.

Locally:

Microsoft (R) Build Engine version 15.1.458.808
Copyright (C) Microsoft Corporation. All rights reserved.

AppVeyor:

Microsoft (R) Build Engine version 15.1.371.0
Copyright (C) Microsoft Corporation. All rights reserved.
FeodorFitsner commented 7 years ago

@ifarbod - it should be fixed now - cancel that build and start a new one.

FeodorFitsner commented 7 years ago

@xwipeoutx - right, there is an update to RC which is not applied yet to that image. Will do that today. What a time - "update to RC" :)

FeodorFitsner commented 7 years ago

Visual Studio 2017 RC image has been updated with the latest RC. MS Build displays version 15.1.458.808 now.

xwipeoutx commented 7 years ago

Working perfectly @FeodorFitsner, good job.

ifarbod commented 7 years ago

Works as expected, Thanks @FeodorFitsner .