beto-rodriguez / LiveCharts2

Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.

Home Page:https://livecharts.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Failure: Missing 'icon.png' in LiveChartsCore.SkiaSharpView.WinUI during WinUI Project Packaging

Ossi90 opened this issue · comments

Describe the bug
During the build process for packaging a WinUI project in Visual Studio, an error occurs stating that icon.png is not found. The error indicates that this file is expected to be in the LiveChartsCore.SkiaSharpView.WinUI images directory but it is not present, resulting in a build failure with the following error message: ...LiveChartsCore.SkiaSharpView.WinUI\images\icon.png does not exist.

To Reproduce
Steps to reproduce the behavior:

  1. Open the project solution in Visual Studio.
  2. Right-click on the packaging project within the Solution Explorer.
  3. Choose 'Rebuild' from the context menu.
  4. Observe the error in the Output window which indicates that the file icon.png is missing.

Expected behavior
The expected outcome is for the build process to succeed without encountering missing file errors, especially when no such resource is explicitly required by the application.

Screenshots
image

Desktop (please complete the following information):
OS: Windows
Version: Windows 10 SDK version 19041 targeted with .NET 7.0 (net7.0-windows10.0.19041.0). Minimum supported Windows version is set to 17763.

Package Version:
LiveChartsCore.SkiaSharpView.WinUI Version: 2.0.0-rc2.1