-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C# Examples don't build #208
Comments
Yes you should now use the NuGet package https://www.nuget.org/packages/LibLogicalAccessNetCE as you did. You can use the following c# sample (up to date for v2) as a reference : https://github.com/liblogicalaccess/liblogicalaccess-samples-csharp |
Wiki updated as well. |
In the Wiki linked through the README.md file and at the top of the GitHub repo, there is a page for examples using LibLogicalAccessNetCE in C#.
I've tried this today with .NET 6.0 and the very first example won't build. It says that:
The type or namespace name 'IReaderProvider' could not be found
'PCSCReaderProvider' does not contain a constructor that takes 0 arguments
The type or namespacename 'IReaderUnit' could not be found
I've tried this with v2.5.0 and v2.4.2 using Visual Studio 2022 and .NET 6.0 as well as .NET Framework 4.8 as a sanity check and I get the same issue.
Doesn't matter if I add
using LibLogicalAccess;
andusing LibLogicalAccess.Reader;
to the top, it still won't build.I've included a sample that shows this not working. Only reference I've added is the v2.5.0 NuGet package.
The text was updated successfully, but these errors were encountered: