Posted 21 September 2023, 9:07 am EST
Hello,
i have a ASP.Net Core Web Api .net 6 project in wich I using a C1 printing package. When I run project i get this error:
“System.TypeInitializationException: The type initializer for ‘C1.C1Preview.C1PrintDocument’ threw an exception.
—> System.IO.FileNotFoundException: Could not load file or assembly ‘System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=345435345345’. The system cannot find the file specified.”
Can anyone help me with this?
Thx