Skip to content

Deploy will not copy dlls that vcpkg generates if you don't edit code related to cpp #6349

@hoshiizumiya

Description

@hoshiizumiya

Describe the bug

The common situation is that you only modify xaml page code, which won't trigger user code compilation.

Steps to reproduce the bug

A winui C++ project.
Enable vcpkg integration.
Use manifest mode.
Add a port.
Start debugging. (or directly trigger deploy by right click the project and deploy)
Stop debugging and modify a xaml file.
Begin debug or deploy.
It will show a dll missing dialog. Because the dlls didn't copy to the AppX folder in the output directory.

Expected behavior

No response

Screenshots

No response

NuGet package version

1.8.260317003

Packaging type

Packaged (MSIX)

Windows version

Insider Build (xxxxx)

IDE

No response

Additional context

VS 2026
You can directly use my repository to reproduce.
https://github.com/hoshiizumiya/opennet

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-DeveloperToolsIssues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integrationneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions