Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/overview/1.2.install.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ If you need more help to install a package from NuGet, please follow
{{ $"LiveChartsCore.SkiaSharpView.{platform_display_name}@{version}" | from_nuget }}


{{~ if winforms || wpf ~}}
:::tip
By default wpf and winforms projects target `netx.0-windows` but SkiaSharp 3 does not provide a build
for that target, so NuGet will restore SkiaSharp dependencies using the .Net framework version. While
that should not affect your app, you should consider to update the TargetFramework of your app and specify
the min windows version, for example `netx.0-windows10.0.19041`, for more info see: https://github.com/Live-Charts/LiveCharts2/issues/1772.
:::
{{~ end ~}}


{{~ if winforms ~}}
After the package is installed you should see the LiveCharts controls in your toolbox, drag a new `CartesianChart` control from your toolbox to the
Expand Down
1 change: 1 addition & 0 deletions src/LiveChartsCore/LiveChartsCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
net462;
netstandard2.0;
net8.0;
net8.0-windows; <!-- https://github.com/Live-Charts/LiveCharts2/issues/1772 -->
</TargetFrameworks>

<AssemblyName>LiveChartsCore</AssemblyName>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<UseWPF>true</UseWPF>

<TargetFrameworks>
net462;
net6.0-windows10.0.19041;
net8.0-windows10.0.19041
net8.0-windows10.0.19041;
net8.0-windows; <!-- https://github.com/Live-Charts/LiveCharts2/issues/1772 -->
</TargetFrameworks>
<AssemblyName>LiveChartsCore.SkiaSharpView.WPF</AssemblyName>
<RootNamespace>LiveChartsCore.SkiaSharpView.WPF</RootNamespace>
Expand All @@ -27,6 +27,11 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<PropertyGroup>
<!-- https://github.com/Live-Charts/LiveCharts2/issues/1772, we should also wanr the user about this, but there should be no issue. -->
<NoWarn>$(NoWarn);NU1701</NoWarn>
</PropertyGroup>

<Import Project="..\..\..\build\SharedLinks.Build.props" />
<Import Project="..\..\..\build\XamlSharedLinks.Build.props" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<OutputType>Library</OutputType>
<TargetFrameworks>
net462;
net6.0-windows10.0.19041;
net8.0-windows10.0.19041
net8.0-windows10.0.19041;
net8.0-windows; <!-- https://github.com/Live-Charts/LiveCharts2/issues/1772 -->
</TargetFrameworks>

<AssemblyName>LiveChartsCore.SkiaSharpView.WinForms</AssemblyName>
Expand All @@ -29,6 +29,11 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<PropertyGroup>
<!-- https://github.com/Live-Charts/LiveCharts2/issues/1772, we should also wanr the user about this, but there should be no issue. -->
<NoWarn>$(NoWarn);NU1701</NoWarn>
</PropertyGroup>

<Import Project="..\..\..\build\SharedLinks.Build.props" />

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
net462;
netstandard2.0;
net8.0;
net8.0-windows; <!-- https://github.com/Live-Charts/LiveCharts2/issues/1772 -->
</TargetFrameworks>

<AssemblyName>LiveChartsCore.SkiaSharpView</AssemblyName>
Expand Down
Loading