Bug 2624 - Encode hyphens in project names to something java accepts
Summary: Encode hyphens in project names to something java accepts
Status: RESOLVED DUPLICATE of bug 210
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 4.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-12-23 03:24 UTC by Jonathan Pobst
Modified: 2012-04-23 10:58 UTC (History)
3 users (show)

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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Jonathan Pobst 2011-12-23 03:24:06 UTC
If you make a project with a hyphen in it, you get the following errors:

  obj\Debug\android\AndroidManifest.xml:2: Tag <manifest> attribute package has invalid character '-'.
  obj\Debug\android\AndroidManifest.xml:14: Tag <category> attribute name has invalid character '-'.
Comment 1 Jonathan Pryor 2012-04-23 10:58:40 UTC
Same-but-different as bug #210: non-alphanumeric and underscore characters can't be in package names, and numeric + underscore can only appear on certain positions.

*** This bug has been marked as a duplicate of bug 210 ***