Bug 57266 - error MT0099: Internal error The linker output contains more than one assemblies named
Summary: error MT0099: Internal error The linker output contains more than one assembl...
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 10.10 (d15-2)
Hardware: Macintosh Mac OS
: Normal major
Target Milestone: 15.4
Assignee: Bugzilla
Depends on:
Reported: 2017-06-08 07:58 UTC by Prashant [MSFT]
Modified: 2017-07-21 06:38 UTC (History)
5 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 Prashant [MSFT] 2017-06-08 07:58:21 UTC
iOS project fails to build the app in _release_ config when output assembly name contains accented characters (eg: Tūhono)

# Steps to reproduce
1. Create a new iOS Project
2. Make sure app name contains an accented character in it
3. Switch to release build config 
4. Build the app

# Expected behavior
The project should build without any errors

# Actual behavior
Build fails with the error **MTOUCH : error MT0099: Internal error The linker output contains more than one assemblies named 'Tūhono'**

# Supplemental info (logs, images, videos)

# Test environment (full version information)
=== Visual Studio Enterprise 2017 for Mac ===

Version 7.0.1 (build 24)
Installation UUID: cbe44f28-b7cf-4fec-aed3-4f13bc08336d
	Mono (2017-02/5077205) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 500010001

=== NuGet ===


=== .NET Core ===

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

=== Xamarin.Profiler ===

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

=== Xamarin.Android ===

Version: (Visual Studio Enterprise)
Android SDK: /Users/prashantvc/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: 26.0.1
SDK Platform Tools Version: 25.0.4
SDK Build Tools Version: 25.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:

=== Xamarin Inspector ===

Version: 1.2.2
Hash: b71b035
Branch: d15-1
Build date: Fri, 21 Apr 2017 17:57:12 GMT

=== Apple Developer Tools ===

Xcode 8.3.3 (12175.1)
Build 8E3004b

=== Xamarin.Mac ===

Version: (Visual Studio Enterprise)

=== Xamarin.iOS ===

Version: (Visual Studio Enterprise)
Hash: d2270eec
Branch: d15-2
Build date: 2017-05-22 16:30:53-0400

=== Build Information ===

Release ID: 700010024
Git revision: 7ab1ca2ced6f584e56b7a0d4d321d00775cd95c9
Build date: 2017-05-19 05:44:51-04
Xamarin addins: 08d17158f3365beee5e60f67999e607cce4b3f93
Build lane: monodevelop-lion-d15-2

=== Operating System ===

Mac OS X 10.12.5
Darwin 16.6.0 Darwin Kernel Version 16.6.0
    Fri Apr 14 16:21:16 PDT 2017
    root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

MFractor 3.00.04
Comment 1 Rolf Bjarne Kvinge [MSFT] 2017-06-14 11:50:51 UTC
master: https://github.com/xamarin/xamarin-macios/pull/2217
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-06-15 09:32:37 UTC
fixed (master): https://github.com/xamarin/xamarin-macios/commit/257de9c2c099e876ab3534e1bb8f82da9f7205f0

AFAICT this is not a regression, we've always had this behaviour (and the workaround is trivial: rename the assembly), I'm talking it off the 15.3 milestone (it'll be fixed for the subsequent release, 15.4).
Comment 3 Saurabh Paunikar 2017-07-21 06:38:57 UTC
Verified on VisualStudioForMac-Preview-

ScreenCast Link: https://www.screencast.com/t/egdoYMZ2577

Build Info: https://gist.github.com/saurabh-paunikar/a1d9abcb8864483c7475bbc5ead1ec10