我必须与我的WPF应用程序一起使用Epson Thermal Printer,但是我下载了SDK代码。但是当我在Visual Studio中安装来自Package Manager Console consem consem conseio中的SDK代码,这给我以下错误。
install -package epson.epos.epos2- version 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-Dirpackages'
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
install -package epson.epos.epos2- version 2.7.0
我想从Nuget Manager安装Epson Thermal Printer,然后我想将其与POS软件集成。
谢谢
Epson.Epos.Epos2
nuget软件包目标UWP。它与WPF不兼容。
似乎有一个.NET(WPF兼容(版本可在官方网站上下载。我建议您尝试这个。无论哪种方式,您都无法在WPF应用程序中使用Epson.Epos.Epos2
。