BleWinrtDll icon indicating copy to clipboard operation
BleWinrtDll copied to clipboard

Nuget Package Microsoft.Windows.CppWinRT needed to build solution

Open nathanrona opened this issue 4 years ago • 4 comments

Cloned project and tried to build according to instructions in Readme.md, however build failed on error "wait_for is not a member of winrt::impl"

Found solution being installing the Nuget Package Microsoft.Windows.CppWinRT,

  1. Right-click on Refernces in solution window.
  2. Click manage Nuget packages...
  3. Click browse tab
  4. Find Microsoft.Windows.CppWinRT
  5. Install After that building worked.

nathanrona avatar Jun 02 '21 13:06 nathanrona

Thanks for sharing!

adabru avatar Jun 02 '21 18:06 adabru

If someone could create a pull request that fixes this issue, that would be highly appreciated!

adabru avatar Feb 09 '22 15:02 adabru

image

After this, still have error posted.

playg8 avatar Aug 23 '22 05:08 playg8

I found someone who fixed it: https://github.com/FeuFeve/BleWinrtDll/commit/7a6ba261ec807325c7eee124a609aaba4e377802

If someone uses the fix, feel free to create a pull request. The commit above has some other changes that may need to go to the .gitignore?

adabru avatar Jun 08 '24 16:06 adabru