Using ASP.NET Core RC2 in Appveyor

This post is about using ASP.NET Core RC2 in Appveyor for Continuous Integration. Recently Microsoft released RC2 version of ASP.NET Core. But for Windows OS, there is an installer exe available.(Unlike DNX there is not commandline / powershell install options.) In this post I am downloading the binaries and extracting to the location.

version: 1.0.{build}
- cmd: >-
    curl -fsSL -o ''
    7z x -aoa -oC:\projects\MyApp\

Now you can navigate to the C:\projects\MyApp location and run the “dotnet restore” command. Other option is using powershell, you can download the executable and install it using “/install /quiet /norestart” flags, if you’re installing, you can run the dotnet command from anywhere in the script, you don’t need to navigate to any specific location.

Here is the GitHub repository which using the binary approach to compile a simple dotnet core console application.

Happy Programming :)

Interesting article? Share it with your friends.