They’ve gone to a lot of effort to make nServiceBus easy to get working, but it still takes about half an hour with the readme. A couple of notes that should save you some time:
- Relatively obviously, you’ve got to put MSBuild on the path. This will usually fix that:
- Build_Src.bat doesn’t put anything into the build/output directory, which is unfortunate since build_samples.bat expects it to. build_with_strong_name.bat does, however.
- For some reason, my box didn’t trust nServiceBus. This gives you the (in)famous “The Project Location is Not Trusted” dialog box. The following command fixed it:
caspol -machine -addgroup All_Code -url file://c:/nsb/* FullTrust -name nServiceBus(note that you need to have set the path for this to work)
- After building nServiceBus, you can finally use the solution file.