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.

UWP not loading SVG (net standard 2.0)

See original GitHub issue

Could not load SVG in UWP version 2.4.

Image loading failed: https://upload.wikimedia.org/wikipedia/commons/c/c9/Svg_example4.svg;(size=0x0,dip=True,type=SvgDataResolver) System.NullReferenceException: Object reference not set to an instance of an object. at FFImageLoading.Work.PlatformImageLoaderTask`1.

It’s working on version 2.3.5

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
daniel-luberdacommented, Jun 9, 2018

Fixed. Stable nuget today.

0reactions
daniel-luberdacommented, Jun 4, 2018

The error is somewhere here: https://github.com/luberda-molinet/FFImageLoading/blob/master/source/FFImageLoading.Svg.Shared/SvgDataResolver.cs#L262-L297

I’ll need some time to debug it though (I don’t use Windows often)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image with SVG file in UWP doesn't render correctly
I've tried to load some SVG files with the same result: they're rendering clipped and they seem to ignore the layout. For instance:...
Read more >
The UWP Community Toolkit v2.2 - Windows Developer Blog
V2.0 of the UWP Community Toolkit introduced several new .NET Standard packages, with a commitment to support more cross platform APIs.
Read more >
FontAwesome6.Svg 2.0.0
WPF (.Net and .Net Core), UWP and WinUI controls for the web's most popular icon set and toolkit. This package contains only svg...
Read more >
UWP app not supporting .Netstandard 2.1 version
Hi, Currently working on UWP project, API i need to use is in .netstandard 2.1 framework. Where as UWP app is not supporting....
Read more >
Supported and Unsupported Features - PDF
This section explains about features available in Essential PDF and their availability in different platforms.
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