简体   繁体   English

Nuget软件包管理器未添加任何参考

[英]Nuget package manager don't add any reference

I'm trying to Microsoft.Windows.Ocr from nuget package to my Project, it adds it, but there are no reference added. 我正在尝试将nuget包中的Microsoft.Windows.Ocr添加到我的项目中,它添加了它,但是没有添加参考。

I'm clueless of what the probleme is. 我不知道问题是什么。

I'm using Visual Studio Community 2015 我正在使用Visual Studio Community 2015

Probably, that's because your project is not UWP(Universal Windows Project). 可能是因为您的项目不是UWP(通用Windows项目)。

You have to create from a project template named with (Universal Windows) . 您必须从名为(Universal Windows)的项目模板中创建。

Microsoft.Windows.Ocr package is UWP library so only runnable with UWP app. Microsoft.Windows.Ocr软件包是UWP库,因此只能在UWP应用中运行。 For this reason, your development environment would be Windows 10 also. 因此,您的开发环境也将是Windows 10。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM