Bug 42923 - Suddenly my xamarin android app doesnt want to compile
Summary: Suddenly my xamarin android app doesnt want to compile
Status: RESOLVED DUPLICATE of bug 40782
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2016-07-29 15:19 UTC by Rats
Modified: 2016-07-29 21:43 UTC (History)
2 users (show)

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

Rebuild Diagnostic Log (3.04 MB, text/plain)
2016-07-29 15:58 UTC, Rats
csproj (32.19 KB, text/plain)
2016-07-29 15:59 UTC, Rats

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 Rats 2016-07-29 15:19:51 UTC
Suddenly my xamarin android app doesnt want to compile... Everything was working as intended but then after changing a minor thing in one xaml (I just added a TranslationY value in a component...). Now it doesn't matter what I do, it doesnt run (before someone asks, yes, the first thing I did was to undo the TranslationY change in the xaml...)

2>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1062,2): monodroid error XA0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com. Reason: System.IO.FileNotFoundException: Could not load assembly 'MyAppName, Version=, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
Comment 1 Greg Munn 2016-07-29 15:28:11 UTC
Could you please attach a diagnostic build output to the bug report. also, maybe attach the csproj, and is "MyAppName" the name of a project of yours, possibly this project? It looks like your project file has some odd reference in it.
Comment 2 Rats 2016-07-29 15:58:14 UTC
Created attachment 16834 [details]
Rebuild Diagnostic Log

Hi Greg,
Here is the log from rebuild (with verbosity set to Diagnostic)
Comment 3 Rats 2016-07-29 15:59:07 UTC
Created attachment 16835 [details]

And here the csproj
Comment 4 Rats 2016-07-29 16:01:30 UTC
I was able to compile the project again after removing and re-adding the references to the portable proyect and all the xamarin ones. But after that recompilation my luck ended as now that trick doesnt work anymore...
Comment 5 Greg Munn 2016-07-29 20:26:53 UTC
it looks like it can't find Uvemaster, are you sure the path is correct for it?
Comment 6 Jonathan Pryor 2016-07-29 21:17:36 UTC

*** This bug has been marked as a duplicate of bug 40782 ***
Comment 7 Brendan Zagaeski (Xamarin Team, assistant) 2016-07-29 21:43:30 UTC
## Small additional follow-up to Comment 6

This does indeed appear to be a duplicate of Bug 40782.  The "real" error in the build log from Comment 3 that's causing the `Uvemaster` library not to build (leading to the secondary, misleading error) is: 

> error CS0103: The name 'btn_aspa_mor' does not exist in the current context