Compile & Package .NET Core
Do you have any suggested tutorials, or instructions on how to get an ASP.NET Core project to compile & package?
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

1 Posted by Ilya Finkelshte... on 03 Apr, 2017 11:44 PM
Our ultimate goal is to adjust AppVeyor for .NET Core and ASP.NET Core so it works without any scripting (GH issue we working on). But for now you have to manually call at least
dotnet restoreanddotnet publish. Please check this sample configuration.Sorry for inconvenience, please ping us with any specific problem you hit while tuning it.
Ilya.
2 Posted by msellers on 04 Apr, 2017 04:46 AM
Been playing with this a bit tonight, but have a few issues.
1.) Getting it to run my unit tests.
2.) Getting a proper publish package for artifacts.
Using project "
FlightFiles .NET Core" in my account
Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development
IowaComputerGurus, Inc.
Office: (515) 270-7063
Cell: (515) 707-3629
Fax: (866) 591-3679
________________________________
3 Posted by Ilya Finkelshte... on 04 Apr, 2017 05:30 AM
1.) Use
dotnet testand upload xml results. Here you need to ensure that test results are uploaded even when tests failed, but build still fails if tests failed. This was discussed today in this thread.2.) As you see in this sample I set
%appveyor_build_folder%\distas output fordotnet publishand then package it as artifact.4 Posted by msellers on 04 Apr, 2017 06:22 AM
This is getting me closer.
It looks like I am going to have to add something similar to the following to run tests for each project?
dotnet test %appveyor_build_folder%\FlightFiles.Data.Tests\FlightFiles.Data.Tests.csproj
The only issue I'm having right now, is I cannot get a true "Web Ready" publish working.
Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development
IowaComputerGurus, Inc.
Office: (515) 270-7063
Cell: (515) 707-3629
Fax: (866) 591-3679
________________________________
5 Posted by Ilya Finkelshte... on 04 Apr, 2017 06:39 AM
What specific problem do you have? Does deployment process fails?
6 Posted by msellers on 04 Apr, 2017 07:26 AM
I think I have it figured out now.
There were multiple problems, the root cause being that the artifact packaging process I was using made it look like it wasn't successful, when in fact it was successful.
________________________________
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:16 AM.