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

net9.0-browserwasm build raising a WasmAssembliesToBundle error with Uno Library #18860

Closed
SongOfYouth opened this issue Nov 20, 2024 · 3 comments
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@SongOfYouth
Copy link

Current behavior

when build for browserwasm, it raises WasmAssembliesToBundle item is empty. No assemblies to process error.

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

Add a net9.0 Uno Library and build it.

Workaround

No response

Works on UWP/WinUI

None

Environment

Other

NuGet package version(s)

No response

Affected platforms

WebAssembly

IDE

Visual Studio 2022

IDE version

17.12.0

Relevant plugins

No response

Anything else we need to know?

No response

@SongOfYouth SongOfYouth added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Nov 20, 2024
@SongOfYouth SongOfYouth changed the title net9.0-browserwasm build raising a error with Uno Library net9.0-browserwasm build raising a WasmAssembliesToBundle error with Uno Library Nov 20, 2024
@SongOfYouth
Copy link
Author

with my attempt, net9.0-browserwasm only works for <OutputType>exe</OutputType> but not <OutputType>Library</OutputType>

@jeromelaban
Copy link
Member

jeromelaban commented Nov 20, 2024

Thanks for the report, this is fixed in #18806, a service release will be available soon.

As a workaround you can add this your project:

<PropertyGroup>
  <IsBrowserWasmProject>false</IsBrowserWasmProject>
</PropertyGroup>

@SongOfYouth
Copy link
Author

<IsBrowserWasmProject>false</IsBrowserWasmProject>

Thanks fort the timly reply, and it works!

MartinZikmund added a commit to MartinZikmund/birdsky that referenced this issue Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

2 participants