Wondering if someone has seen this error. I’m using Invoke Code to convert a text file to pdf using Spire.PDF. Weird thing is it actually worked a few times and then started throwing this error.
If I’m reading this right, it seems to be an issue with fowarding RectangeF in System.Drawing 188.8.131.52 to version 184.108.40.206 but issues finding that.
System.Drawing is in the Imported Namespaces, I’ve tried reordering in xaml file, .net 4.8 is installed, not sure what else to try.
Here’s the error.
Source: Invoke code Message: No compiled code to run error BC31424: Type 'System.Drawing.RectangleF' in assembly 'netstandard, Version=220.127.116.11, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' has been forwarded to assembly 'System.Drawing'. Either a reference to 'System.Drawing' is missing from your project or the type 'System.Drawing.RectangleF' is missing from assembly 'System.Drawing'. At line 14 error BC30652: Reference required to assembly 'System.Drawing, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' containing the type 'System.Drawing.PointF'. Add one to your project. At line 16