Questions tagged [octopack]

Octopus Deploy tool to create nuget packages of your builds.

From Using OctoPack

The easiest way to package your applications from your continuous integration/automated build process is to use OctoPack. OctoPack adds a custom MSBuild target that hooks into the build process of your solution. When enabled, OctoPack will package your Windows Service and ASP.NET applications when MSBuild runs. This makes it easy to integrate OctoPack with your build server - as long as you can pass properties to MSBuild, you can use OctoPack.

41 questions
0
votes
2 answers

What is the difference between octo.exe's create-release and octopack as an argument to msbuild

I am having trouble understanding the fundamentals of octopus deployment. I am using octo.exe with the create-release and deploy-release commands. I am also using the octopack plugin. I am getting an error but that's not really the point - I want to…
nhouser9
  • 6,730
  • 3
  • 21
  • 42
0
votes
1 answer

OctoPack and OD Channels: How to create package version that can be piped into version channel?

We are using Octopus Deploy from TFS using the OctoPack package for convenience. We have a custom .nuspec file (generated on the fly) to pack up the deployment items and it works fine for the current mainline scenario. Now I'm looking at setting up…
bit0001
  • 555
  • 1
  • 4
  • 12
0
votes
1 answer

How to get MSBuild build number in name of NuGet package using OctoPack?

I'm trialling Octopus Deploy (3.4.12) and want to automatically use the build number from the MS Build name as my NuGet package name. For example, if my latest MSBuild drop name is 'MyApp Build_20161019.2' and my app name is MyApp, then I want my…
DeanOC
  • 7,142
  • 6
  • 42
  • 56
0
votes
1 answer

Octopus Deploy is not merging my transformation file when deploying application

I have 3 transformation files in my mvc project called Web.Debug.config, Web.AWS QA.config, Web.Release.config. I have an environment called AWS QA. I have checked both Configuration Variables and Configuration transforms in the Enable Features…
0
votes
1 answer

How do I avoid invalid characters in XML files using OctoPack during VSTS builds?

I am seeing these errors during builds. C:\Program Files (x86)\Microsoft WCF Data Services\5.6.4\bin\.NETFramework\Microsoft.Data.Services.Client.xml' contains invalid characters. C:\Program Files (x86)\Microsoft WCF Data…
Ian Robertson
  • 2,652
  • 3
  • 28
  • 36
0
votes
1 answer

Running OctoPack to create nuget package containing DEBUG assemblies

How can I use OctoPack to create a nuget package contains the debug assemblies instead of the "release" version? It seem octopack 3.0 no longer support this command parameter…
VietRoadie
  • 179
  • 3
  • 11
0
votes
0 answers

How to use powershell to copy the files and adding them to the project which would be packed using octopack

I would want to do SQL automation operations using cmd or powershell but don't have any idea that how to do that I am using Octopack which is installed for web project Consider I have two project -- MyWebProject -- DbScript …
0
votes
1 answer

Deploying on OctoPack Error

I'm using a tutorial to deploy a dacpac through OctoPack. http://kwilson.me.uk/blog/deploy-a-database-project-dacpac-using-octopusdeploy-and-powershell/ I'm getting an error saying the following: Exception calling "Deploy" with "5" argument(s):…
Michelle
  • 231
  • 3
  • 16
0
votes
1 answer

.nuget include file from other project

I have three visual studio database projects with .sql files. Instead of publishing the projects to a database, the SQL needs to be executed at a specific moment. I added another project to package everything into one nuget package (including some…
MrFox
  • 4,852
  • 7
  • 45
  • 81
0
votes
2 answers

Octopack for .Net 2.0 and msbuild 2.0

I was setting up number of projects to build NuGet packages and push onto NuGet server, so it could be later used by Octopus Deploy. All was fine until I needed to apply the same process to legacy projects. The error was: error MSB4062: The…
Alex M
  • 2,410
  • 1
  • 24
  • 37
-1
votes
1 answer

Getting error when create octopus release

I am using TFS as a CI tool and using Octopus to deploy my C# Web API project. Build artifacts package pushing and creating release successfully from TFS to octopus side, But When try to deploy for IIS in Assembly server, It's getting error as like…
1 2
3