microsoft / DesktopBridgeToUWP-Samples

This repo contains the samples that demonstrate the usage patterns for the Desktop Conversion extensions.
MIT License
494 stars 271 forks source link

AppServiceBridgeSample_C++ fails to build: can't find platform.winmd #57

Open mscherotter opened 6 years ago

mscherotter commented 6 years ago

Building the Win32 component of the AppServiceBridgeSample_C++ in Visual Studio 2017 15.5.0, I get a build error: could not find assembly 'platform.winmd': please specify the assembly search path using /AI or by setting the LIBPATH environment variable

Any suggestions? Michael

wickste commented 6 years ago

I see that the .vcxproj file has a hardcoded absolute path to the “Common7\IDE\VC\vcpackages” folder. Please replace that with the path that matches your installation of VS.

We’ll get a fix out for this.

From: Michael S. Scherotter [mailto:notifications@github.com] Sent: Thursday, December 7, 2017 12:51 AM To: Microsoft/DesktopBridgeToUWP-Samples DesktopBridgeToUWP-Samples@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [Microsoft/DesktopBridgeToUWP-Samples] AppServiceBridgeSample_C++ fails to build: can't find platform.winmd (#57)

Building the Win32 component of the AppServiceBridgeSample_C++ in Visual Studio 2017 15.5.0, I get a build error: could not find assembly 'platform.winmd': please specify the assembly search path using /AI or by setting the LIBPATH environment variable

Any suggestions? Michael

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FDesktopBridgeToUWP-Samples%2Fissues%2F57&data=02%7C01%7Cswick%40microsoft.com%7Ccf12b54ae7d1488e814b08d53d4f981a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636482334419092125&sdata=Mtg2wJkOf7BuSXJJxhbAI30l4ZCaA%2FjFipl5FqT3IvE%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASRavITkkHTIF8pWX4L94KiSRnzQHzj-ks5s96bfgaJpZM4Q5MV1&data=02%7C01%7Cswick%40microsoft.com%7Ccf12b54ae7d1488e814b08d53d4f981a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636482334419092125&sdata=qEzum9tYJo5mN1h1YPZaU5R3eliHicxpXAbrt3e2B6A%3D&reserved=0.

ghost commented 6 years ago

I am also blocked by this.

wickste commented 6 years ago

I have submitted a fix. Let me know if you are still having issues.

Thanks! Stefan

From: gedw99 [mailto:notifications@github.com] Sent: Friday, December 8, 2017 9:21 AM To: Microsoft/DesktopBridgeToUWP-Samples DesktopBridgeToUWP-Samples@noreply.github.com Cc: Stefan Wick swick@microsoft.com; Comment comment@noreply.github.com Subject: Re: [Microsoft/DesktopBridgeToUWP-Samples] AppServiceBridgeSample_C++ fails to build: can't find platform.winmd (#57)

I am also blocked by this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FDesktopBridgeToUWP-Samples%2Fissues%2F57%23issuecomment-350319960&data=04%7C01%7Cswick%40microsoft.com%7C39e84bd88e484759af6308d53e5ffeaf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636483504373927509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=a7o%2B%2BMqeuWUinam%2FqczA%2BGQWLkxsRCLybDzwgVz4tZ0%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASRavL8yw9nXXKoD17uupTtQXnaoORDKks5s-W_igaJpZM4Q5MV1&data=04%7C01%7Cswick%40microsoft.com%7C39e84bd88e484759af6308d53e5ffeaf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636483504373927509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=hVsztf6%2FosDlB89g665vtkSZWBrrncxU8AitdbLrF78%3D&reserved=0.

DominikMe commented 6 years ago

@wickste's fix is at https://github.com/Microsoft/DesktopBridgeToUWP-Samples/commit/e9669b1f4242d458f9a31d366da3dc0c4604ea37

I had to change the AdditionalUsingDirectories for the other configurations in order to make Release compile.