Bug 5250 - Having '.' in Assembly name of top level executable causes deploy to fail in non-obvious way
Summary: Having '.' in Assembly name of top level executable causes deploy to fail in ...
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 5.2
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
Depends on:
Reported: 2012-05-22 17:04 UTC by Chris Hamons
Modified: 2012-07-04 08:16 UTC (History)
4 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 Chris Hamons 2012-05-22 17:04:42 UTC
If your "assembly name" (Project Options -> Build -> Output) has a period '.' character in the name, your deployment will fail in non-obvious ways, and even removing the offending character will sometimes not fix things (you have to reset the simulator).

Steps to Reproduce:
New MonoTouch Project
Note it works.
Project options, Build -> Output.
Change Assembly Name to Foo.Bar.
Note utter failure.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-06-01 07:16:26 UTC
I get this when trying to upload:

Installation failed: AMDeviceInstallApplication returned: 0xe8008001
error MT1006: Could not install the application '/Users/rolf/Projects/test/bin/iPhone/Debug/test.app' on the device '': AMDeviceInstallApplication returned: 0xe8008001.

it looks like it's some sort of Apple restriction. Maybe MD can give some sort of warning when dots are used in executable names?
Comment 2 Jeffrey Stedfast 2012-06-01 16:12:39 UTC
this should really be in mtouch
Comment 3 Rolf Bjarne Kvinge [MSFT] 2012-06-05 04:41:59 UTC

I already get a warning in MonoDevelop:

"iOS executable name should be alphanumeric, or it may not run"
Comment 4 Chris Hamons 2012-06-05 10:53:31 UTC
I dn't see that warning in MonoDevelop 3.0.2 (just tried). Where is it?

However, our users modified the project in a text editor an thus didn't get this warning from the IDE. It should get promoted to at least a run-time "hey we failed to deploy due to this" or build failure.
Comment 5 Rolf Bjarne Kvinge [MSFT] 2012-06-06 05:29:52 UTC
If you rebuild your project, the warning should show up in the errors & warnings pad.
Comment 6 Chris Hamons 2012-06-06 10:46:18 UTC
We have 100's of warnings in our solution (with 20+ projects). A simple warning seems pretty terrible (why doesn't the failed deploy tell me what is wrong!). This should be promoted to an error at least.
Comment 7 Nat Friedman 2012-06-15 20:58:45 UTC
Rolf, Let us make this an error.
Comment 8 Rolf Bjarne Kvinge [MSFT] 2012-07-04 08:16:25 UTC
Fixed to be an error (md-addins: 6568c5ced).