Skip to content

Project references not resloved in a WinUI 3 C++ project #252

@Ruyi-Wonton

Description

@Ruyi-Wonton

In the project PhotoEditor, why is there exclamation mark in the Reference, prompting "..... references could not be resolved"

The steps to reproduce are as follows

  1. Download this sample https://github.com/microsoft/WindowsAppSDK-Samples.git.
  2. Open WindowsAppSDK-Samples/Samples/PhotoEditor/cpp-winui/PhotoEditor.sln , then the references may be empty.
  3. Rebuild the project, close PhotoEditor.sln, and then reopen it.
  4. Check the references, you will find exclamation mark prompt.
  5. But if you choose the Microsoft.WindowsAppSDK version to 1.0.4, there is no exclamation mark.

My Visual Studio version:Visual Studio Community 2022 17.3.4.

This question comes from Microsoft Q&A (Project references in a WinUI 3 C++ project) and I would like to know how this problem can be solved.

InkedMicrosoftTeams-image (2)_LI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions