SdkApi.* for .NET 8.0

E Erwin Y 5 months 2 weeks ago
192 0 0

I have created a Discount Card application with C# Winform VS2022 targeting the .NET 8.0. I use hardware "Dual Interface Reader from Feitian".

I want to replace Fetian Reader with a Zebra ZC300, because the ZC300 is not only for printing images on cards, but can also be used to write applets onto cards or also read cards

Because My Disount Card uses .NET 8.0 then I tried upgrading the example Zebra application, namely "DeveloperDemo_Card_Desktop.csproj" which uses .NET Framework version 4.7.1 to .NET 8.0

I got errors when upgrade as following:

Severity    Code    Description    Project    File    Line    Suppression State    Details
Error    NETSDK1149    SdkApi.Desktop.dll cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher.  An updated version of the component supporting .NET 5 is needed. For more information, see    DeveloperDemo_Card_Desktop1    C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets    1162        

My question:
1. Does Zebra provide SdkApi.* for .NET 8.0? Where can I get it?

Because I don't have the SdkApi.* source code, I can't compile it to support the  .NET 8.0.

Thanks & Best Regards,


Can’t find what you’re looking for?