Skip to content

NServiceBus Quickstart solution fails to start when there are spaces in the path #642

Description

@npink42

Describe the bug

Description

The quickstart sample will not work once you enable PlatformSample in part 2 if there is a space in the path to the code.

Expected behavior

Sample should work regardless of path.

Actual behavior

The PlatformSample project in the quickstart demo never launches Service Control.

Versions

Particular.PlatformSample v 4.19.0

Steps to reproduce

Mac

  1. Download solution from: https://docs.particular.net/tutorials/quickstart/#download-the-solution
  2. Open download folder in Finder
  3. Double click on the tutorials-quickstart.zip so that it uncompresses to the folder tutorials-quickstart
  4. Double click on the tutorials-quickstart.zip again so it uncompresses to the folder tutorials-quickstart 2 (note the space)
  5. Open the folder tutorials-quickstart 2
  6. Double click on RetailDemo.sln
  7. Follow the instructions found on part 2 of the tutorial: https://docs.particular.net/tutorials/quickstart/tutorial-reliability up to Systemic failures
  8. Enable the Particular Service Platform and run all the projects.

Relevant log output

In the Console for PlatformLauncher:

Waiting for ServiceControl to be available..............................................................................................

Additional Information

We were able to reproduce the issue directly using PlatformSample project on both windows and mac by adding a space to the path and running the smoke test project from the console.

Workarounds

Remove all spaces from path to the sample.

Possible solutions

Update PlatformLauncher to support spaces in path.

Additional information

https://docs.particular.net/tutorials/quickstart/

This seems to be caused by the space in the path tutorials-quickstart 2 and the root cause seems to be in the PlatformSample project.

Another example of pathing:

  • /Users/npink/repos/Particular.PlatformSample works fine.
  • /Users/npink/repos/test space/Particular.PlatformSample does not.
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions