question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strange: Xamarin.iOS: Unable to locate assembly 'Microcharts.Forms' (culture: '')

See original GitHub issue

targetfw_vs

Can anyone point me in the right direction.

Error using the LATEST version

 <package id="Microcharts" version="0.8.3-pre" targetFramework="portable45-net45+win8+wpa81" />
 <package id="Microcharts.Forms" version="0.8.3-pre" targetFramework="portable45-net45+win8+wpa81" />

Xamarin.Forms.Xaml.XamlParseException: Position 31:18. Type microcharts:ChartView not found in xmlns clr-namespace:Microcharts.Forms;assembly=Microcharts.Forms
  at Xamarin.Forms.Xaml.CreateValuesVisitor.Visit (Xamarin.Forms.Xaml.ElementNode node, Xamarin.Forms.Xaml.INode parentNode) [0x0024b] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\CreateValuesVisitor.cs:92 
  at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor visitor, Xamarin.Forms.Xaml.INode parentNode) [0x000ab] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\XamlNode.cs:149 
  at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor visitor, Xamarin.Forms.Xaml.INode parentNode) [0x00043] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\XamlNode.cs:143 
  at Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor visitor, Xamarin.Forms.Xaml.INode parentNode) [0x00078] in C:\

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
gribnikpaykcommented, Nov 29, 2017

i have solved this problem. i added “var ignore_chartView = new Microcharts.Forms.ChartView();” in FinishedLaunching method (AppDelegate.cs)

1reaction
jonathanantoinecommented, May 23, 2018

Did you add those 2 packages to the native implementation too ? I fixed the same error by doing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xamarin.iOS: Unable to locate assembly 'Microcharts. ...
Xamarin.Forms.Xaml.XamlParseException: Position 31:18. Type microcharts:ChartView not found in xmlns clr-namespace:Microcharts.
Read more >
Unable to locate assembly 'Xamarin.Forms.Platform.iOS' ...
I noticed the following in the build output: 2021-05-27 08:35:57.088 Xamarin.PreBuilt.iOS[674:187068] Xamarin.iOS: Unable to locate assembly ...
Read more >
Unable to locate assembly 'Xamarin.Forms.Platform.iOS' ...
I noticed the following in the build output: 2021-05-27 08:35:57.088 Xamarin.PreBuilt.iOS[674:187068] Xamarin.iOS: Unable to locate assembly 'Xamarin.Forms.
Read more >
Xamarin Microcharts extension namespace not recognised
I am currently building an app in Xamarin forms. I am trying to get a simple chart element to appear on a page...
Read more >
Could not load file or assembly - Xamarin Forms iOS
I have encountered the following error and I am unable to get past it. This error occurs in a Xamarin Forms.iOS project on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found