Paylink class libraries with Visual Studio 2022 / .NET 6.0 / .NET 8.0

Support for the Milan Intelligent interface, sold by Money Controls as the Paylink USB unit and for the earlier PCI card version.

Moderators: aardvark, davebush, Admin

Post Reply
Nathan
Posts: 41
Joined: Tue Oct 30, 2018 4:12 pm

Paylink class libraries with Visual Studio 2022 / .NET 6.0 / .NET 8.0

Post by Nathan »

Hi,

I’m planning on using Visual Studio 2022 to produce an application in .Net Framework 6.0 – will there be any problems in using Paylink.

Thanks

Nathan
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: Paylink class libraries with Visual Studio 2022 / .NET 6.0 / .NET 8.0

Post by davebush »

Hi Nathan,

The .NET Framework 4.0 versions of the two class libraries (AesImhei.Net.dll & AesImhei64.Net.dll) in all releases of the Paylink SDK will work without problems with the default Net 4.8 used by VS 2022 without needing any recompilation.

With the release of 4.1.12.15 there is support for .NET frameworks of 5.0 or higher. For these frameworks applications are required to use class libraries that match the framework of the application

.NET framework 6.0 and 8.0 are directly support with binaries of the two class libraries (AesImhei.Net.dll & AesImhei64.Net.dll) available in the download package. The latest Dot Net user guide describes how to use other frameworks.

Cheerrs

Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Nathan
Posts: 41
Joined: Tue Oct 30, 2018 4:12 pm

Re: Paylink class libraries with Visual Studio 2022 / .NET 6.0 / .NET 8.0

Post by Nathan »

Thanks

Do you have class libraries for other .NET frameworks (e.g. 5.0 or 7.0) in the Paylink SDK
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: Paylink class libraries with Visual Studio 2022 / .NET 6.0 / .NET 8.0

Post by davebush »

You can start with either of the above solution files and then just update the target framework and rebuild.

For the class library: select Properties | Configuration | Advanced, near the bottom is “.NET Target Framework”, click the dropdown at the right, choose whichever framework you want and then rebuild it

If you want to set TestApp or VbTest to match so as confirm that the interface modules are functional: select Properties | Application | General | Target Framework, choose the desired target and rebuild it.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Post Reply