How to solve [project.assets.json' doesn't have a target for 'net8.0/win-x64'] #15990
Replies: 2 comments 3 replies
-
I ran into the same issue and found that adding <PropertyGroup>
...
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
</PropertyGroup> to the wasm project fixed the issue. However, I then immediately ran into another problem: publish didn't succeed (neither from within Visual Studio, nor using the After some searching and analyzing the build log, I managed to get one step further by passing the
I'll let you know if I find out how to solve that. Sigh. |
Beta Was this translation helpful? Give feedback.
-
I've just run into this issue as well on the latest stable release of Uno.Sdk (5.5.43). Brand new Uno Library project targeting dotnet 9 WinUI and WASM. See below:
Running into the same exception:
This appears to be a non-issue with the latest dev release at the time of writing: |
Beta Was this translation helpful? Give feedback.
-
I have a WAsm app to test UNO in VS 2022 very up to date, and I tried to publish it, but it has this error.
I had tried to restore, rebuild, reinit...
Again, I can't do anything with UNO.
How to solve?
Beta Was this translation helpful? Give feedback.
All reactions