[英]I am unable to install epson thermal printer nuget from nuget package manager console
我必須在wpf應用程序中使用epson熱敏打印機,但是我下載了sdk代碼。但是,當我從Visual Studio中的程序包管理器控制台命令安裝epson時,出現以下錯誤。
安裝軟件包Epson.Epos.Epos2-版本2.7.0
我在互聯網上搜索了很多,但找不到任何線索,請指導我或分享一些幫助。
Package 'Epson.Epos.Epos2.2.7.0' does not exist in project 'My-WPF-POS'
Package 'Epson.Epos.Epos2.2.7.0' does not exist in folder 'D:\Projects
\My-WPF-POS-Dir\packages'
Executing nuget actions took 1.4 sec
Install-Package : Could not install package 'Epson.Epos.Epos2 2.7.0'. You
are trying to install this package into a project that
targets '.NETFramework,Version=v4.6', 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
+安裝軟件包Epson.Epos.Epos2-版本2.7.0
我想從nuget Manager安裝epson熱敏打印機,然后將其與POS軟件集成。
謝謝
Epson.Epos.Epos2
NuGet包面向UWP。 它與WPF不兼容。
似乎有一個.NET(與WPF兼容)版本可以在官方網站上下載。 我建議你試試這個。 無論哪種方式,您都將無法在WPF應用程序中使用Epson.Epos.Epos2
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.