我刚刚下载了 Microsoft Band SDK Preview 并尝试将其连接到我的 C++/CX Windows 通用应用程序项目。Nuget 在下面给我一个错误,我可以通过 C++ 代码使用 SDK 预览吗?
Install-Package : Could not install package 'Microsoft.Band 1.3.10219-preview'.
You are trying to install this package into a project that targets 'Native,Version=v0.0',
but the package does not contain any assembly references or content files that are
compatible with that framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package Microsoft.Band -Pre
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
似乎问题对于将托管程序集安装到 C++ 项目是通用的,但我还没有设法找到解决方法。