microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.89k stars 6.32k forks source link

[cppwinrt] Provide MSBuild integration at parity with NuGet package #31421

Open davidmatson opened 1 year ago

davidmatson commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently, cppwinrt via vcpkg isn't as full-featured on MSBuild as cppwinrt via NuGet; installing this package isn't enough to get it to run the tool on WinMD files, for example.

Proposed solution

Include the MSBuild props/targets from upstream for MSBuild consumers, so they run in the same way for projects with MSBuild integration enabled.

(Assuming vcpkg has a way to include MSBuild targets in projects that integrate with vcpkg via MSBuild.)

Describe alternatives you've considered

No response

Additional context

No response

jimwang118 commented 1 year ago

Are you saying that cppwinrt installed via vcpkg cannot handle WinMD files?

davidmatson commented 1 year ago

No, I'm saying that, for MSBuild projects (.vcxproj), if you use cppwinrt via the NuGet package and reference a WinMD file, it just works and automatically produces the correct cppwinrt headers from that WinMD file. If you use cppwinrt via vcpkg, that doesn't happen.

github-actions[bot] commented 10 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

davidmatson commented 10 months ago

/keep-alive

github-actions[bot] commented 4 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

davidmatson commented 4 months ago

/remove-stale