I have a windows service which contains the necessary components to allow it to render razor templates. This service listens on a message queue and sends emails, using the razor templates to generate rich html.
Everything is working fine, however, when it comes to deploying it with Octopus Deploy, it seems that OctoPack is seeing this service as a web site and packaging it incorrectly.
Before adding the razor template feature, this service used to get packaged correctly and was able to deploy with no worries.
The packaged output now looks like:
When in reality, it needs to just contain the contents of the bin
folder. It seems to me as if OctoPack is treating the service as a website now.
I have tried adding a nuspec file, but that doesn't work, I end up with:
Nuspec file looks like:
<!-- cut for brevity -->
<files>
<file src="bin\**\*.*" target=""/>
</files>
So that doesn't work either.
What can I do to fix this??