Bug 29778 - The assembly name cannot contain more than one dot
Summary: The assembly name cannot contain more than one dot
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 8.10
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
Depends on:
Reported: 2015-05-05 21:13 UTC by John Miller [MSFT]
Modified: 2015-05-07 05:34 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 John Miller [MSFT] 2015-05-05 21:13:53 UTC

   When trying to use the new publishing workflow in 5.9, creating an app package fails when the assembly names has more than one period in the name. 

**Steps to Reproduce:**

   1. Create an iOS app with multiple periods in the name. i.e. My.Project.Has.Longname.iOS
   2. Change the configuration to Release | iPhone
   3. Right-click on the project and choose Create pacage for publishing

**Actual Results:**

   Info.plist: error : The assembly name (My.Project.Has.Longname.iOS cannot contain more than one dot.
   The publishing does not work and no package is created.

**Expected Results:**

   No Issues

**Build Date & Platform:**

   XI 8.10
   Xcode 6.3
   XS 5.9
Comment 3 Jeffrey Stedfast 2015-05-06 07:01:45 UTC
This seems to be a change made by Rolf
Comment 4 Rolf Bjarne Kvinge [MSFT] 2015-05-06 07:31:45 UTC
This is by design; iOS ends up confused if the application executable has more than one dot.

The fix is to change the executable name to not have more than one dot (not including the extension).
Comment 5 John Miller [MSFT] 2015-05-06 16:46:46 UTC

Ok, I never had an issue before. 

The strange thing is that sometimes this does build and I don't get the error - why is that happening?
Comment 6 Rolf Bjarne Kvinge [MSFT] 2015-05-07 05:34:31 UTC
@John, hard to say why that is. Can you enable diagnostic xbuild output in Xamarin Studio and get the build logs for a failed and a successful build?