WindowsAppSDK-Samples icon indicating copy to clipboard operation
WindowsAppSDK-Samples copied to clipboard

DirectWriteCore.dll not found

Open sergeyn opened this issue 2 years ago • 3 comments

I cannot run text rendering sample, it complains about DirectWriteCore.dll not found when I try to run it after building.

sergeyn avatar Jan 29 '22 03:01 sergeyn

Hi @sergeyn, can you provide more information about the problem you're encountering? Is there a specific message? Do you see the Microsoft.WindowsAppSDK package installed in the project?

btueffers avatar Jan 31 '22 22:01 btueffers

Hi @btueffers ,

I'm trying to build/run unpackaged project "DWriteCoreGallery" under debugger to see how it works. There's no reference to windowsappsdk. There's one in (packaging) project , but that one I cannot debug.

sergeyn avatar Feb 01 '22 00:02 sergeyn

Hi @sergeyn, sorry for the delay on this. I just attempted to reproduce your issue but wasn't able to - on my machine, I was able to successfully build and run the DWriteCoreGallery sample. To do so, I followed the instructions on this page and made sure to install the correct workloads and components for Visual Studio 2022, and additionally installed the Win11 SDK from the optional VS components list because I'm on Windows 11. I also made sure to set the DWriteCoreGallery (packaging) project as the startup project. I could then run the sample app, set breakpoints, etc.

You might have already done all this but can you confirm if you have tried all these steps first? Thanks!

duncanmacmichael avatar Feb 25 '22 00:02 duncanmacmichael

The sample has been updated to use WindowsAppSDK 1.2. If you still see this issue, reactivate with your updated results.

bpulliam avatar Nov 12 '22 10:11 bpulliam