Thanks for reaching out. We didn’t build Octopack with that use case in mind, so I don’t think any of us have even tried it. Can you send me your csproj file with the command line arguments added and working for your windows service?
Also please send me a build log that shows a successful Octopack run for your windows service, and the failing one for your webapp.
I have OctoPack installed as a package for the Windows Service.
I’m currently testing Octopus deployment tools and going forward, we’ll be using a dedicated build/CI server which will (hopefully) package everything up and push it to so I may not need to worry about this, but I want to understand it ground upwards.
So setting <RunOctoPack>true</RunOctoPack> should be enough to get this working.
How are you building your application while having this value in your csproj file? Straight from VisualStudio? Using a build server? Something like Psake or Cake calling MSBuild directly? I’d like to know so I can reproduce this myself.
Finally, if the above answer was Web Application, do you see the same results if you create a vanilla project, just add Octopack and try to compile it?