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

Uno.WinUI is missing .Net 8 Windows lib output. #14449

Open
IsmailHassani opened this issue Nov 16, 2023 · 3 comments
Open

Uno.WinUI is missing .Net 8 Windows lib output. #14449

IsmailHassani opened this issue Nov 16, 2023 · 3 comments
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@IsmailHassani
Copy link

IsmailHassani commented Nov 16, 2023

Current behavior

Building/running the .net 8 windows head generates an error.

C:\Users\ismai\.nuget\packages\microsoft.windowsappsdk\1.4.231008000\buildTransitive\MrtCore.PriGen.targets(657,5): error MSB4096: The item "C:\Users\ismai\.nuget\packages\uno.winui\5.0.48/lib/net7.0-windows10.0.19041.0/Uno.UI.Toolkit.pri" in item list "PackagingOutputs" does not define a value for metadata "ProjectName".  In order to use this metadata, either qualify it by specifying %(PackagingOutputs.ProjectName), or ensure that all items in this list define a value for this metadata.

When i check the nuget package i see a missing net8.0-windows folder under lib
image

Expected behavior

Should run out of the box

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

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

5.0.48

Affected platforms

Windows

IDE

Visual Studio 2022

IDE version

17.8

Relevant plugins

No response

Anything else we need to know?

No response

@IsmailHassani IsmailHassani 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 16, 2023
@jeromelaban
Copy link
Member

Thanks for the report. net8 missing is generally not a problem, though #14448 may be somehow related but this is not showing in our standard tests for net8.0 builds.

This may also be caused by microsoft/microsoft-ui-xaml#8857. Are you building a library?

@IsmailHassani
Copy link
Author

Yes, I'm building a library for the Uno platform. But the error occurs in a sample project referencing this library.

@jeromelaban
Copy link
Member

Then this will be microsoft/microsoft-ui-xaml#8857. Can you try adding the workaround specified there?

@MartinZikmund MartinZikmund added triage/needs-information Indicates an issue needs more information in order to work on it. difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

3 participants