TC + dotnet core + octopack

Hi

How can I use octo packing settings in dotnet core builder in TC?
In MSBuild I had the settings like this:


I can’t user dotnet pack command because I can’t specify custom package version in nupkg file name.

Thanks,
Boris

Hi Boris,

Thanks for reaching out. Octopack will not work for .NET Core projects, as the project structure itself is very different (no more .csproj files, which is what Octopack depended on).

For this reason we developed a new TC step that comes with out plugin that allows you to Create and Push packages for pretty much any kind of projects, as all it does it point to a folder and pack whatever is there: http://docs.octopusdeploy.com/display/OD/TeamCity#TeamCity-CreateAndPushPackageToOctopusCreatingandpushingpackagesfromTeamCitytoOctopus

Hope that helps!
Dalmiro

Notice:

This issue has been closed due to inactivity. If you encounter the same or a similar issue and require help, please open a new discussion (if we asked for logs or extra details in this thread, consider including them in the new thread). If you are the creator of this thread and believe it should not be closed let us know via our support email.