Wednesday, September 8, 2010

Fix It! Where did my project startup settings go?

One thing you'll notice pretty quickly when using NSB and source control is that your Debug settings get lost once you check-in.

This is because these settings are in the $project.user file and not part of the actual $project.csproj file.  To fix this, simply add the properties to a PropertyGroup in your project file:


    Program
    $(ProjectDir)$(OutputPath)NServiceBus.Host.exe
    NServiceBus.Integration
 

No comments:

Post a Comment