Skip to content

APPX0702 when csproj reference vcxproj which output only winmd #2180

@wherewhere

Description

@wherewhere

Description

When reference a pure winmd vcxproj project to a package csproj such as UWP or WAS, it always including the not exist .dll file, which cause the APPX0702 error.

Image

Steps To Reproduce

  1. Create a pure winmd vcxproj such as https://github.com/SharpAdb/AdvancedSharpAdbClient.SampleApp/blob/main/SharpADB/SharpADB.Metadata/SharpADB.Metadata.vcxproj
  2. Reference it

Expected Behavior

Works fine.

Version Info

  • Microsoft.Windows.CsWinRT 2.2.0
  • Microsoft.Windows.SDK.BuildTools 10.0.26100.4654
  • Microsoft.Windows.SDK.BuildTools.MSIX 1.7.20250806.1

Additional Context

I don't know which project is for Microsoft.Windows.SDK.BuildTools, but this is a csproj problem so I write the issue here. If this issue is in wrong place, please move it to the right one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions