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

[BUG] Blazor standalone app can't build release cause of emcc error. #3028

Closed
1 task done
vyefymochkyn opened this issue Oct 3, 2024 · 3 comments
Closed
1 task done

Comments

@vyefymochkyn
Copy link

vyefymochkyn commented Oct 3, 2024

Description

Create blazor standalone app running .NET8, add SkiaSharp.Views.Blazor package and you can't build app in release mode.

Code

<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="SkiaSharp.Views.Blazor" Version="2.88.8" />
  </ItemGroup>

</Project>

Expected Behavior

Debug builds and run fine.

Actual Behavior

image

No response

Version of SkiaSharp

2.88.8 (Current)

Last Known Good Version of SkiaSharp

Other (Please indicate in the description)

IDE / Editor

Visual Studio (Windows)

Platform / Operating System

Windows

Platform / Operating System Version

No response

Devices

No response

Relevant Screenshots

No response

Relevant Log Output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mattleibow mattleibow added the area/SkiaSharp.Views.Blazor Issues relating to the views for ASP.NET Blazor. label Nov 11, 2024
@mattleibow
Copy link
Contributor

This seems to work for me, please attach a repro so I can check:

image

BlazorApp1.zip

Copy link
Contributor

Hi @vyefymochkyn. We have added the status/needs-repro label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

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

No branches or pull requests

2 participants