microsoft / microsoft/WindowsAppSDK

Resource files copy-pasted into project folder aren't indexed on F5 if the app was already built.

Open
#1,503 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

area-MRTCore bug
Dominant language
C++
Stars
4.7k
Forks
471
Avg merge
3d 13h
Merged PRs (30d)
28

Description

**Describe the bug**
Resource files copy-pasted into project folder aren't indexed on F5 if the app was already built.

**Steps to reproduce the bug**
1. Create a new app using the "Blank App, Packaged with WAP (WinUI 3 in Desktop)" template.
2. Build and run it. That generates a resources.pri.
3. Copy-paste some resource files into the project folder. The Build Action of these files will be set correctly by default.
4. Hit F5.

**Actual behavior**
The resources.pri in the build output doesn't have the new resources. If the app is rebuilt, then the PRI's contents are correct.

**Expected behavior**
The resources.pri in the build output has the new resources.

**Version Info**
Microsoft.WindowsAppSDK v1.0 and VS 2019 (Version 16.11.3 or a version close to it [I may have been upgraded recently...])

| Windows 10 version | Saw the problem? |
| :----------------------------------- | :------------------- |
| Insider Build (around 22463) | Yes |
| May 2020 Update (19041) | |
| November 2019 Update (18363) | |
| May 2019 Update (18362) | |
| October 2018 Update (17763) | |

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.