-
Notifications
You must be signed in to change notification settings - Fork 308
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
resource/image file added from VS UI will not be built into PRI file for WPF project #1674
Comments
Just a note: this faulty behavior was seen with WinForm/Console apps too. See dupe #1786. |
so is WinUI 3 (both Packaged and Unpackaged are affected --> xbfs files are not built into pri file). |
This issue cannot be properly addressed in the Windows App SDK. It requires .NET SDK support. Will be filing feature request. |
Hi @ghost, the two issues are unrelated. In fact, with the referenced issue, the XBFs are embedded in the PRI, it's just that they're also loosely deployed (that's for WAPPROJ based apps; single-project MSIX Packaging doesn't have that issue). |
This issue is fixed by the merged PR above if .NET SDK v6.0.300 or higher is used by the app. That fix will be available in 1.1 Stable. |
Describe the bug
In a WPF project, adding resource image file from VS UI, the project is automatically modified to exclude those files. Thus they are not built into final PRI file.
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
The image and resource strings are built into PRI file
Screenshots
Version Info
NuGet package version:
[Microsoft.WindowsAppSDK 1.0.0-preview3]
Additional context
This seems to be a regression caused by #1389. Workaround is to manually remove those ItemGroup added automatically.
The text was updated successfully, but these errors were encountered: