FastReport
FastReport copied to clipboard
Project .net standard referenced in .net framework project
Hi!
The project of my report is in .net standard and my app is in .net framework.
Debugging this line:
report.Prepare()
It returns an error:
Translating:
'(Memo16): Error CS0012: Type 'System.Enum' is defined in an assembly not used as reference. Add assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' as a reference. (192,4): Error CS0012: Type 'System.Object' is defined in an assembly not used as reference. Add assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' as a reference. (207,8): Error CS0012: Type'System.Decimal' is defined in an assembly not used as reference. Add assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' as a reference. (308,13): Error CS1717: Assignment made to the same variable. Did you intend to assign another element? '
When I reference my report project (net standard) in a .net core app, it works fine. But when I reference my report project (net standard) in my .net framework 4.8 app, returns this message in prepare statement.
There is a specific configuration I need to do in My project ?
Hello!
We will try to reproduce the problem
Best regards Marat
Hello, is this issue still relevant?