psake - Re-installing an NServiceBus endpoint stops the service -
when re-run psake-based deploy process, nservicebus (3.3.0) endpoint not resume processing messages. under services.msc, status blank.
here's psake script (with irrelevant stuff removed):
function global:deploy_endpoint($name) { $project = "$basedir\src\$name\$name.csproj" $buildpath = "$deploybasedir\$name" $deploypath = "c:\relodotnet2_serviceendpoints\$name" exec { msbuild $project "/p:configuration=debug;outputpath=$buildpath" "/t:build" } exec { & "$deploypath\nservicebus.host.exe" /uninstall } exec { msdeploy "-verb:sync" "-source:contentpath=$buildpath" "-dest:contentpath=$deploypath" } exec { & "$deploypath\nservicebus.host.exe" /install } }
the /install not automatically start service you.
you need start service after running /install
nservicebus psake
No comments:
Post a Comment