Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 for Bug 12784 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Given an Android Class Library named something like MyCompany.Common(Android), msbuild gives me the following error:
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1285,2): error MSB3375: The file "bin\Debug\MyCompany.Common(Android).dll.mdb" does not exist.
We worked around it by changing the assembly name to something like MyCompany.Common__Android in the project properties.
As far as I know, characters like () are OK for path names on all common dev platforms, but maybe we're just trying to do something we shouldn't.
(background: we're doing this when sharing code across platforms. We have a .NET class library named MyCompany.Common and an Android class library called MyCompany.Common(Android) that contains links to all files in MyCompany.Common. Effectively, the two projects are identical but simply targeted differently, which is why we decided that using non-namespacey characters would be illustrative).
I get a slightly different error in Visual Studio and Xamarin Studio (on Mac)
When creating a project called My.App(Android) the application builds and deploys without any problems however at runtime I get the following
[MonoDroid] Could not load type 'My.AppAndroid.MainActivity, My.App(Android), Version=220.127.116.11, Culture=neutral, PublicKeyToken=null'.
I will continue to investigate
The work around for this is to keep the Project names as MyCompany.Common(Android) but change the Application name in the Properties to just MyCompany.Common.
This will allow you to keep the project names separate but the resulting assembly will not have the (Android) in it.