I try to migrate some C++/CLI (mixed/managed) projects from .net4.8 to net70
The problem is not the migration (I succeeded, it builds and run), the problem is the winforms designer.
Once my project is converted to net70, the winforms designer fails to load "Cannot load base class System.Windows.Forms.Form". Otherwise it builds and runs properly.
Of course, I have a minimal sample code I made especially for you to reproduce : https://chachatelier.fr/tmp/TestFromNetToNetCore.zip
Instructions :
-open the "TestFromNetToNetCore-net48-vs2022.sln" solution, build/run/open designer : it works
-open the "TestFromNetToNetCore-netcore70-vs2022.sln" solution, build/run:it works; open designer : it fails