Bug 60191 - The "ReadAdditionalResourcesFromAssemblyCache" task failed unexpectedly
Summary: The "ReadAdditionalResourcesFromAssemblyCache" task failed unexpectedly
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-10-14 22:04 UTC by John
Modified: 2017-11-19 03:15 UTC (History)
2 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 John 2017-10-14 22:04:31 UTC
I have set the android project as my startup project. Any attempt to build either using my phone or a an emulator results in this error message:
 The "ReadAdditionalResourcesFromAssemblyCache" task failed unexpectedly.

   System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.

   at System.Xml.XmlTextReaderImpl.Throw(Exception e)

   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)

   at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)

   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()

   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

   at System.Xml.XmlTextReaderImpl.Read()

   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)

   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)

   at System.Xml.Linq.XDocument.Load(String uri)

   at Xamarin.Android.Tasks.ReadAdditionalResourcesFromAssemblyCache.Execute()

   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()	Dialler1.Android
Comment 1 Paul DiPietro [MSFT] 2017-10-19 19:04:33 UTC
Can you provide more information about your setup (installed VS versions, Forms versions, etc.) and if doing a full clean and rebuild helps the issue? Does this occur with only that particular solution's project, or any new solution?
Comment 2 Paul DiPietro [MSFT] 2017-11-19 03:15:34 UTC
Closing as no response has been provided. Please reopen with the requested information and a reproduction if possible if the issue still occurs as of the latest 2.5.0 stable build of Forms.