in Technology

Building Asp.NET Core applications in Appveyor

To build your Asp.NET Core 1.0 application in Appveyor, a bit of configuration is required to tell the Appveyor build agent to get the dotnet core compiler.

The configuration steps will install the .Net Version Manager and a runtime for your application. The necessary packages and references will also be restored prior to the build.

Simply add or amend your appveyor.yml file at the root of your project repository with the contents below:

You can see a sample project here:

When building the project, this is what you’ll see in your console log: