How to start with .net core 5.0

Stimulsoft Reports.NET discussion
Post Reply
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

How to start with .net core 5.0

Post by vorauler »

Hi

I created a new .core console application, add the nuget package Stimulsoft.Reports.Net and get this error (see image).
"System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Das System kann die angegebene Datei nicht finden.'"

How to start?

TIA
Ralf
Attachments
2021-07-26-stimulsoft error.png
2021-07-26-stimulsoft error.png (19.4 KiB) Viewed 1033 times
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

Re: How to start with .net core 5.0

Post by vorauler »

Ok, i solved my problem. Just add this to the .csproj file:
<ItemGroup>
<FrameworkReference Include="Microsoft.WindowsDesktop.App" />
</ItemGroup>
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: How to start with .net core 5.0

Post by Andrew »

Hello,

Great! Thank you for sharing this way of solving the issue.
Post Reply