Reference native c++ dll in UWP project
问题 I have a c++ dll that I want to utilize in the UWP project that I am working on. I need some assistant on how to achieve that. 回答1: C++ doesn't have a concept of "referencing DLLs". All you need to do to use them is to make sure they're copied next to your executable when you build your app. If you're using Visual Studio C# project (.csproj), add it to it as "Content" type: <ItemGroup Condition="'$(Platform)' == 'x86'"> <Content Include="$(ProjectDir)MyDLL\x86\MyDLL.dll">