I really got tired of creating the same projects over and over so I decided to create some templates. I packaged them up and put them on the Visual Studio Gallery: http://visualstudiogallery.msdn.microsoft.com/9546d382-7ffa-4fb8-8c0f-b7825d5fd085
Right now it only includes a few project templates and a few items. If you are using the project templates there is a custom wizard that will prompt you for a path to the NSB binaries. This will auto adjust the HintPath in the project file to point to that directory.
I'm planning on adding more endpoints and some complete solutions in the near future. Let me know what you are looking for via the gallery so I can keep track of it there.
Good stuff, would be great of you could add:
ReplyDelete1.
Program
$(ProjectDir)$(OutputPath)NServiceBus.Host.exe
at the end of the .csproj to set the host as startup exe
2. Could the hint path be set relative to the selected path?
Keep up the good work!
Oops, xml got formatted away: https://gist.github.com/965161
ReplyDeleteSounds good on both accounts. I will take a look and see if I have access to the chosen project directory at that point in the wizard. If not, at the very least I will allow the user to enter the path.
ReplyDeleteThanks for the templates. I downloaded version from 5/12/2011.
ReplyDeleteI created a publisher and browsed to NServiceBus dll's "C:\Community.NServiceBus.2.5.0.1446\.net 4.0\binaries" on my machine yet ..\..\..\lib\nservicebus\net4\NServiceBus.dll was in the csproj file which isn't valid.
I created more projects and the message project did put the correct path in the csproj file but not the other 3.
ReplyDelete@maggieplusplus - I will check into these today, did you download them from the gallery?
ReplyDelete@maggieplusplus - this has been corrected, see version 1.2 in the gallery
ReplyDeleteHi. I neef to install nservicebus template for vs14 but i cant ?
ReplyDelete