Anders G. Nordby

Lead Consultant at Itera

Tag Archives: Octopack

TeamCity & Octopack: Octopack not running

Just a quick note in case I ever run into this problem again… Yesterday I was setting up a new project in TeamCity, and I spent hours trying to figure out why Octopack was not running. The project built fine, but there were no artifacts. I kept searching the web for “Octopack not running” etc, to no awail. Finally I inspected the .csproj file of a working project, and compared this to my own. Voila! In the working project, there was a line containing the word “octopack”, while in my project there was none. So, adding this line at the bottom of the .csproj file was all I needed to fix the error:

<Import Project="..\packages\OctoPack.2.0.20\targets\OctoPack.targets" />