.NET Core Deployment

(Simon Martin-Lemmon) #1

Hi,

I am sure this has been asked a million times already, but cannot find anything similar.

We are trying to build and deploy an ASP.NET core applications, using TFS (Visual Studio Online) and Octopus.

I have reviewed the documentation at

I am still struggling.

For all our other applications, we were using Octopack followed by a “Create Octopus Release” TFS Task.

Octopack no longer seems to work.

I am trying to use an “Octopus Package Application” TFS task, but am unsure of what to put in most of the parameters.

On other thning that we did in OctoPack was to append “develop”, “release” or “hotfix” to the end of the package name to determine which channel etc to use.

I cannot see how to do this either.

This is what we were using in the TFS msbuild arguments…

/p:RunOctoPack=true /p:OctoPackPublishPackageToHttp=http://xxxxxx:1234/nuget/packages /p:OctoPackPublishApiKey=API-123456xxxxx /p:OctoPackAppendToVersion=develop

Any help and guidance would be very much appreciated.

Many thanks in advance

Simon

0 Likes

(Daniel Fischer) #2

Hi Simon,

Thanks for getting in touch! There is something that stands out here.

For all our other applications, we were using Octopack followed by a “Create Octopus Release” TFS Task.

The TFS step does not use OctoPack but Octo.exe pack instead. As OctoPack is not compatible with ASP.NET Core.
We have updated the documentation page that you linked to give you more accurate information.

As for what parameters you need to enter, you should only need to fill a couple of mandatory fields in TFS:

Package ID - Name for your package.
Package Format - NuPkg or Zip
Package Version - Versioning for your package.
Source Path - Path for your packaged build source files.
Output Path - Destination path for package.

We have an example at the following URL: http://docs.octopus.com/download/attachments/3048587/PackageApplication_Details.png?version=1&modificationDate=1462498197285&api=v2

Let me know if that helps.

Regards,
Daniel

0 Likes

(system) closed #4
0 Likes