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

resources.pri is missing when publish with --no-build option #9660

Open
na1307 opened this issue May 20, 2024 · 1 comment
Open

resources.pri is missing when publish with --no-build option #9660

na1307 opened this issue May 20, 2024 · 1 comment
Labels
area-ProjectSystem team-Markup Issue for the Markup team

Comments

@na1307
Copy link

na1307 commented May 20, 2024

Describe the bug

May be related: microsoft/WindowsAppSDK#4390

When publish with the --no-build option using dotnet cli, the resources.pri file is not created. This causes the app not to launch. If do not use the --no-build option, it will be created.

Steps to reproduce the bug

  1. Clone https://github.com/na1307/test/tree/main/App1
  2. Build
  3. Publish using dotnet cli with --no-build option

Expected behavior

resources.pri should be created and the app should run normally.

Screenshots

No response

NuGet package version

Windows App SDK 1.5.3: 1.5.240428000

Packaging type

Unpackaged

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

No response

@codendone codendone transferred this issue from microsoft/WindowsAppSDK May 23, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label May 23, 2024
@codendone codendone added area-ProjectSystem team-Markup Issue for the Markup team and removed needs-triage Issue needs to be triaged by the area owners labels May 23, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ProjectSystem team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

2 participants