Skip to content
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

CS0246 type/namespace not found on UWP build even after multiple attempts to solve #443

Closed
trevorcmit opened this issue Apr 22, 2022 · 1 comment

Comments

@trevorcmit
Copy link

Hello,

I'm running into the relatively simple error of getting a CS0246 error for the LiveCharts. I'm trying to load LiveCharts into my ViewModel .cs file, but it doesn't recognize it. I'm building for UWP with Xamarin.Forms. My goal is to use the AutoUpdate line chart, which appears to be an auto updating CartesianChart.

I've verified that I've got the same framework versions as LiveCharts desires, being Target=10.0.19041.0 and Minimum=10.0.17763.0. These are the same as the UWP sample uses.

I've attempted to follow this bug report that has been answered previously, but it has not solved my issue.

I have LiveChartsCore, LiveChartsCore.SkiaSharpView.UWP, and LiveChartsCore.SkiaSharpView.XamarinForms all installed on the 2.0.0-beta.101 version. I also have SkiaSharp and SkiaSharp.Views.Uno on the 2.88.0-preview.254 (current newest version). I have .NET 4.6.2 installed since it appears that LiveCharts wants that, as seen from the samples. In addition, I can see that the LiveCharts packages are present in my .csproj file.

I am not sure what to do from here. My build is just not recognizing at all that any of the LiveCharts parts are present anywhere.

@trevorcmit
Copy link
Author

Multiple .csproj are used for my code, I needed to have LiveCharts packages referenced in all of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant