Bug 1649 - Can't compile generated code wrt namespaces
Summary: Can't compile generated code wrt namespaces
Status: RESOLVED DUPLICATE of bug 1079
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8.1
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-23 12:10 UTC by Sebastien Pouliot
Modified: 2011-10-23 13:15 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 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:
Status:
RESOLVED DUPLICATE of bug 1079

Description Sebastien Pouliot 2011-10-23 12:10:05 UTC
If I create a project name like:

monomac.linker.1528

then all the generated code will create namespaces like:

namespace monomac.linker. {
}

the 1528 is removed, because it can't be a namespace and that's ok :)

However the last '.' is not removed and I have to edit every generated file to remove it.

Either remove the last 'dot' and/or warn the user the project name cannot be used "as is" for the default application namespace.
Comment 1 Marek Safar 2011-10-23 13:15:31 UTC

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