Here is an overview how to migrate your API programs to .NET 8
Migrate projects
Use our DevKit Tools plugin to create a new, empty API project using exactly the same name (Namespace) as your existing plugin.
The create API program entry is only available within a multi-user project.
Using this project template generator, the project will already come with th Articy.API NuGet package containing all required articy files and custom MSBuild targets for an API program.
Note
The files articy:draft 3 supplied with an own installer are now part of the NuGet package.
Please keep in mind that starting with articy:draft X all code is 64-Bit only.
The NuGet package comes with additional dependencies matching those of our used 3rd Party libraries
Copy all your (source) files from the existing one into the new project folder. Visual Studio will pick up all files automatically
Edit your Properties\AssemblyInfo.cs file and remove all assembly versioning related entries.
You can specify them in the "Packaging/General" section of your projects properties or add them manually directly into the global "PropertyGroup" of the project file.
This looks something like:
As part of the migration to .NET 8 we also updated some of our libaries. While updating JSON.NET should not impact your code, our used Excel Library ClosedXML had some API changes.
Those should be easily fixed. For a guide take a look at the ClosedXML migration guide here: ClosedXML - Migration from 0.97 to 0.100