-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UWP install from NuGet #145
Comments
The package is missing the dependency to the core packages, I'll fix in the next release, for now please try to install the core manually. https://www.nuget.org/packages/LiveChartsCore.SkiaSharpView/2.0.0-beta.40 Or clone this repo and add the reference to your project. |
Thanks that seemed to work for now... but the designer is giving me issues (may or may not be related to me referencing the projects manually): Things do show up fine at runtime. I wasn't able to add LiveChartsCore and LiveChartsCore.SkiaSharpView to my UWP project through the Visual Studio UI, but I had to manually add them in the .csproj file. |
Should be fixed with 1c7f4ec I will test, then close if it works. |
I made the NuGet package work following the next steps:
This works for now, but this should be improved in a future version. |
@beto-rodriguez I tried out the latest beta.60 and everything seems to be working fine so far! 😊 No crashing or designer issues at the moment. Though like you mentioned, I needed to install LiveChartsCore and LiveChartsCore.SkiaSharpView manually. I didn't need to add that piece of code to App.xaml.cs, but I'll keep that code in mind if I run into any issues. |
I was using the core of livecharts 1, how crazy to confuse LiveCharts.Core with LiveChartsCore |
@beto-rodriguez I'm trying the library on a WinUI3 app, but I'm getting the "missing .xbf file" errors when building the code: Any chance you've seen this before? |
@rubenseam for WinUI3 please install the WinUI 3 package:
WinUI (WinUI3) is so different from WinUI2. |
Sorry, @beto-rodriguez , I'm not sure which packages I should install. I do have WinUI3 set up for my application. |
@rubenseam WinUI3 is not related to UWP. The packages you installed seem right. Take a look at the sample that is running on WinUI in this repo: https://github.com/beto-rodriguez/LiveCharts2/tree/master/samples/WinUISample/WinUI |
this issue is gone in beta.80 package, for both WinUI and UWP. |
Browsing https://nuget.info/packages/LiveChartsCore.SkiaSharpView.UWP/2.0.0-beta.40 shows no binaries I can use in my UWP project.
Am I missing something? When I try to use this nuget package in my Visual Studio project, I'm unable to use any LiveChart controls in the XAML and I cannot compile successfully.
The text was updated successfully, but these errors were encountered: