Hi @Simon,
Import of type 'Color' from assembly or module 'System.Drawing.Primitives.dll' failed
I guess the reason for your error is that you are using an incorrect dll.Maybe you could try using System.Drawing.dll
instead.
Provides basic drawing primitive structures, that exposes the corresponding System.Drawing.dll types in .NET Core.
https://learn.microsoft.com/en-us/dotnet/api/system.drawing.color?view=netframework-4.8.1
I want to use the upgrade tool from Microsoft to convert the desktop version into a web application.
It is not recommended to use tools for conversion. Web applications and WinForms are fundamentally different and should be designed differently.
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.