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
10
votes
1 answer

Removing slashes from branch names in TeamCity

I am trying to pass the branch names from TeamCity to OctopusDeploy so that we can easily track which branch a deployment came from. To do this I want to append the branch name onto the version number (or the nuget package built with octopack) so…
Richard Dalton
  • 35,513
  • 6
  • 73
  • 91
6
votes
1 answer

Octopack puts csc.exs in double bin folder

I have just developed a small internal application and I'm using Octopus Deploy as the deployment software. I've been using Octopus for a number of years now without issue. However, I've just hit a rather strange "thing" which has got me a bit…
AndyPoole
  • 77
  • 4
4
votes
2 answers

Is it possible to utilize OctoPack with the new PackageReference NuGet format?

We recently upgraded our assemblies to use the PackageReference format instead of the packages.config for our NuGet dependencies. One of the packages, OctoPack, stopped working after doing this. Is there any way to get OctoPack to work while still…
myermian
  • 31,823
  • 24
  • 123
  • 215
4
votes
2 answers

vs team services trigger build with commit message

Background I have a project set up in VSTS, which builds my solution and runs octopack to push the package to my octopus deploy feed. I am using a local build agent and a local octopus deploy server. The build is currently manually triggered. The…
Jay
  • 2,077
  • 5
  • 24
  • 39
4
votes
2 answers

When does OctoPack create the nuspec file?

The Using OctoPack mentions A .nuspec file describes the contents of your NuGet package. OctoPack automatically creates one if you haven't provided one, by guessing some of the settings from your project. I've run msbuild with the…
StuperUser
  • 10,555
  • 13
  • 78
  • 137
3
votes
1 answer

Specify Octopack nuget package file's target path

I found OctoPack to be incredibly straight forward when creating .nupkg nuget package files, however I I'd like the .nuspec file included (currently is placed in another folder such as obj/octopackage or something), and all the dlls should be placed…
NealR
  • 10,189
  • 61
  • 159
  • 299
3
votes
1 answer

Nuget 3 - Octopack - Wrong Framework Target error

I'm getting mad trying to solve this one. My environment: VS2015 Nuget extension 3.3.0.167 Octopack package 3.0.45. When I run the following command below, the package is correctly generated: v4.0.30319\msbuild PackagingTest.sln…
cmarrades
  • 55
  • 9
3
votes
1 answer

ReferenceError: scForm is not defined in Sitecore 8

I get this javascript-error in Sitecore 8 > Control Panel when e.g. clicking "Install a package" or any other link: ReferenceError: scForm is not defined Looking in Firebug, seems like a file is missing: http://my.site/-/speak/v1/assets/main.js.
2
votes
2 answers

MSBuild doing OctoPack before Publish

I have a C# .NET v4.6.1 compiled Azure Function, I am using Microsoft.NET.Sdk.Functions and I deploy it using my usual CI/CD Pipeline. That being, a TeamCity MSBuild Build Step to create an OctoPack (because I have installed the OctoPack 3.6.3 NuGet…
1
vote
2 answers

OctoPack not populating placeholders in nuspec file

I have a solution with many projects, about a dozen of which have Octopack installed and packages are being produced correctly when TeamCity runs msbuild /p:RunOctoPack=true /p:OctoPackEnforceAddingFiles=true. As you can probably tell from the…
Richiban
  • 5,569
  • 3
  • 30
  • 42
1
vote
1 answer

Jenkins build warnings "source file does not exist" with OctoPack and ReadyRoll

I'm trying to set up a Jenkins build project with ReadyRoll. Mostly it is working but I'm getting warnings that concern me: MSBUILD : OctoPack warning OCTNOENT: The source file…
Dar
  • 383
  • 1
  • 5
  • 16
1
vote
1 answer

AppVeyor Octopack - Failing GetAssemblyVersion

I have a asp.net core 2.0 web app. I am attempting to use AppVeyor to build a nuget package with octopack, so our octopus server can handle our deployment process. I have the following steps listed in my appveyor.yml file to do the nuget restore,…
Nathan Tregillus
  • 6,006
  • 3
  • 52
  • 91
1
vote
1 answer

How to use the version number set in nuspec in octopack?

I have a nuspec file with information about the nuget package, it also contains a version. Is it possible to make OctoPack use the version that is specified inside the nuspec file? Right now it automatically takes the date. I already tried the…
Rick
  • 1,224
  • 3
  • 13
  • 27
1
vote
1 answer

What is the correct configuration of asp.net mvc + angular 4 + TFS 2013 (XAML builds) + octopack?

Configuring deployment process for the project and facing some issues with packaging the output of msbuild to a nuget package with OctoPack. Have decided to get a feedback about the process, may be I'm doing something wrong. Preconditions: .net 4.6…
mlurker
  • 149
  • 2
  • 8
1
vote
1 answer

Octopack artifacts includes source codes

I am having the following issue. I am using a teamcity build server with octopack, My build artifacts nouget package contains all of the source codes of our project. I would not like them to be visible. How should I look at this stuff? Is this even…
Greenmachine
  • 292
  • 1
  • 15
1
2 3