Bug 55440 - Project name with a number in the name does not compile for macOS and Xamarin.Forms (MM0023)
Summary: Project name with a number in the name does not compile for macOS and Xamarin...
Status: RESOLVED DUPLICATE of bug 55519
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Other ()
Version: 3.4.0 (15.2)
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Paul DiPietro [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-04-20 21:52 UTC by Andreas Klapperich
Modified: 2017-06-08 09:03 UTC (History)
4 users (show)

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


Attachments
Sample project that does not work on my computer (1.72 MB, application/zip)
2017-04-21 21:47 UTC, Andreas Klapperich
Details


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 55519

Description Andreas Klapperich 2017-04-20 21:52:28 UTC
How to reproduce

Create a new project Forms.App with the name Dornheck41

Add a Cocoa App with the name Dorneck41.macOS
as described in the article https://blog.xamarin.com/preview-bringing-macos-to-xamarin-forms/

compile the dornheck41.macOS => MM0023

open Dornheck41.macOS project options
goto Build => Output
change the Assembly name from Dornheck41 to Dornheck
click ok

compile the dornheck41.macOS => everything is ok.
Comment 1 Paul DiPietro [MSFT] 2017-04-21 01:55:35 UTC
I'm presently unable to reproduce this. Can you upload a reproduction project where running the macOS project crashes by default, at least on your machine, as well as also provide some more info such as the versions of macOS/Xcode you're using? Thanks!
Comment 2 Andreas Klapperich 2017-04-21 15:11:16 UTC
=== Visual Studio for Mac Preview ===

Version Preview 8 (7.0 build 2845)
Installation UUID: 8c9f7911-62d0-421b-bd3a-641dbdbca4f6
Runtime:
	Mono 5.0.0.61 (2017-02/4242008) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 500000061

=== NuGet ===

Version: 4.0.0.2323

=== .NET Core ===

Runtime: /usr/local/share/dotnet/dotnet
SDK: /usr/local/share/dotnet/sdk/1.0.1/Sdks
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.0.0/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.5.3
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 8.3.1 (12170)
Build 8E2002

=== Xamarin.iOS ===

Version: 10.10.0.11 (Visual Studio Enterprise)
Hash: 1fe8f10c
Branch: d15-2
Build date: 2017-04-13 22:19:00-0400

=== Xamarin.Android ===

Version: 7.3.0.6 (Visual Studio Enterprise)
Android SDK: /Users/andreas/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		6.0 (API level 23)
		7.0 (API level 24)
		7.1 (API level 25)

SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.3
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin.Mac ===

Version: 3.4.0.11 (Visual Studio Enterprise)

=== Xamarin Inspector ===

Version: 1.2.1
Hash: 0ea0a12
Branch: d15-1
Build date: Thu, 06 Apr 2017 20:24:44 GMT

=== Build Information ===

Release ID: 700002845
Git revision: 70840b5a96337c13d5c195e160723f0d1dd0da49
Build date: 2017-04-18 14:22:15-04
Xamarin addins: 893cf0cafd7f81a90258ab34bd9c34e4e69da4ff
Build lane: monodevelop-lion-vs-mac-preview8-b

=== Operating System ===

Mac OS X 10.12.4
Darwin 16.5.0 Darwin Kernel Version 16.5.0
    Fri Mar  3 16:52:33 PST 2017
    root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

MFractor 2.10.04
NuGet Package Explorer 0.1
NuGet Package Management Extensions 0.12.2
Paket 0.3
Comment 3 Andreas Klapperich 2017-04-21 15:12:09 UTC
In Visual Studio for mac It does not compile
Comment 4 Andreas Klapperich 2017-04-21 15:12:26 UTC
=== Xamarin Studio Community ===

Version 6.3 (build 863)
Installation UUID: 1bffbac9-c347-418d-ad98-444b41c2f03b
Runtime:
	Mono 5.0.0.61 (2017-02/4242008) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 500000061

=== NuGet ===

Version: 3.5.0.0

=== Xamarin.Profiler ===

Version: 1.5.3
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 8.3.2 (12175)
Build 8E2002

=== Xamarin.iOS ===

Version: 10.10.0.11 (Xamarin Studio Community)
Hash: 1fe8f10c
Branch: d15-2
Build date: 2017-04-13 22:19:00-0400

=== Xamarin.Android ===

Version: 7.3.0.6 (Xamarin Studio Community)
Android SDK: /Users/andreas/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		6.0 (API level 23)
		7.0 (API level 24)
		7.1 (API level 25)

SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.3
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin.Mac ===

Version: 3.4.0.11 (Xamarin Studio Community)

=== Xamarin Inspector ===

Version: 1.2.1
Hash: 0ea0a12
Branch: d15-1
Build date: Thu, 06 Apr 2017 20:24:44 GMT

=== Build Information ===

Release ID: 603000863
Git revision: a2163670efe259c85cd8f335d95b175068fbbe2a
Build date: 2017-04-03 14:33:15-04
Xamarin addins: 2045d688ea1420e0381b473360ca62a763eb7d04
Build lane: monodevelop-lion-d15-1

=== Operating System ===

Mac OS X 10.12.4
Darwin MacBook002.fritz.box 16.5.0 Darwin Kernel Version 16.5.0
    Fri Mar  3 16:52:33 PST 2017
    root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Addin Maker 1.3.2
DNX 0.6
Macaque Tips 0.1.1
NuGet Package Explorer 0.1
NuGet Package Management Extensions 0.12
Paket 0.3
Show in Github 1.0.3
JSON Copy 1.1
VSCodeDebugger 1.1
XamlStyler 1.0.3
Manifest.addin 0.0.0.0
Comment 5 Andreas Klapperich 2017-04-21 21:47:24 UTC
Created attachment 21716 [details]
Sample project that does not work on my computer
Comment 6 Andreas Klapperich 2017-04-21 21:49:58 UTC
In Xamarin Studio I got the message MM0023

In Visual Studio for Mac it does not compile. The cursor is running but nothing happens.
Comment 7 Paul DiPietro [MSFT] 2017-04-22 16:59:01 UTC
Reassigning to Xamarin.Mac to get some more insight on this.
Comment 8 Chris Hamons 2017-04-24 14:23:28 UTC
We're hitting this:

https://github.com/xamarin/xamarin-macios/blob/master/tools/mmp/driver.cs#L703

Because two assemblies have the same name.

Our check is a a bit aggressive. I've filed: https://bugzilla.xamarin.com/show_bug.cgi?id=55519
Comment 9 Manuel de la Peña [MSFT] 2017-06-07 10:35:12 UTC
@chamons, should we close this bug and used the one filled by you to track this?
Comment 10 Chris Hamons 2017-06-07 17:14:32 UTC
Yes, I believe this is really just a XM bug.

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