Bug 8930 - "Illegal Project Name" Error when space in Solution name
Summary: "Illegal Project Name" Error when space in Solution name
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Management ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: Low enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-12-13 23:03 UTC by Anonymous
Modified: 2015-08-24 13:24 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 8930 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description Anonymous 2012-12-13 23:03:18 UTC
Visual Studio has allowed spaces in the Solution names for a while and its very nice to have a space in the solution name. Not sure why this isn't allowed in MonoDevelop since you are following the Microsoft Visual Studio format for solutions and projects.  Also the error has a error in it as it is saying the project name is illegal instead of the Solution. However it is a valid solution name per Microsoft's rules on solution naming.

Also spaces should be allowed in Project names as they are valid per Microsoft's rules as well. Project names with spaces create an assembly name with spaces as well, but the default namespace the spaces are replaced with underscores.  This seems a valid approach to take.  

Spaces are allowed by all modern files systems so not sure why this check is in place. 

STR

1. File -> New -> Solution
2. Other -> Blank Solution
3. Enter the name "Test Solution Name"
4. Choose a location to create it
5. Click OK

Expected Results

It creates the Solution with the spaces in the name.

Actual Results

Error Message:
Illegal project name.
Only use letters, digits, '.' or '_'.