Starting from version 2022.2 the Eyeshot installer includes .NET6-Windows assemblies for both WinForms and WPF platforms.
Prerequisites to build .NET applications:
Upgrade .NET Framework Applications
To convert a .NET Framework project to .NET, you can use the net-upgrade assistant offered by Microsoft.
Open the Developer Command Prompt for VS 2022 and use the below command to install the tool.
dotnet tool install -g upgrade-assistant
Once installed, move to the directory containing the .NET Framework project and use the below command to convert it to the new Microsoft.NET.Sdk format.
upgrade-assistant upgrade .\yourproject.csproj
Follow the instruction of the tool for completing the conversion.
Once completed the conversion, you need to open the project, change the target framework to .net6.0-windows, and add the NuGet packages according to the .json files shipped with Eyeshot .net6 assemblies (you can find them in the subfolder Bin\net6.0-windows of the Eyeshot installation path)
In the source code folder of the Arrows sample, you can find a converted Visual Studio project file ready to use.
Currently, there is no design-time support for Eyeshot .NET6-Windows assemblies and Microsoft does not allow manually adding a custom control to the Toolbox yet (see here).
Moreover, Microsoft has not released the new WinForms Designer SDK docs yet (we're keeping our eyes here).
Anyway, most of the code targeting .NET Framework will work in .NET projects without modifications.
So, a temporary workaround is to create a separate project targeting .NET Framework and use it to launch the old designer for your .NET project's forms.