0

We have Win32/C++ project with Desktop Bridge and usual method adding .winmd (by add reference) library didn't works, so is there another path to do it?

Konstantin
  • 159
  • 7
  • https://learn.microsoft.com/en-us/uwp/winrt-cref/winmd-files – CristiFati Aug 16 '22 at 14:03
  • What should the outcome of *"adding [a] .winmd"* be? It's not a library, and neither contains code nor anything a linker would care about. – IInspectable Aug 16 '22 at 14:49
  • 1
    @IInspectable .winmd can be a complete library too. – Konstantin Aug 17 '22 at 06:51
  • https://www.codeproject.com/Articles/476957/WINMDplusFilesplusUnderplustheplusHood – Konstantin Aug 17 '22 at 06:57
  • 2
    A .winmd file repurposes the PE image file format, and thus could hold everything a "regular" executable contains. Though standard tooling will ignore everything but the CLR section. Which comes back to the initial question: What should the result of adding (a reference to) a .winmd file be? – IInspectable Aug 17 '22 at 09:59
  • We have library https://publisher.vungle.com/sdk/sdks/windows and we need link it to the win32 project -- it's all I know @IInspectable – Konstantin Aug 17 '22 at 14:55

0 Answers0