Page 1 of 1

How to start with .net core 5.0

Posted: Mon Jul 26, 2021 12:29 pm
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

Re: How to start with .net core 5.0

Posted: Mon Jul 26, 2021 1:50 pm
by vorauler
Ok, i solved my problem. Just add this to the .csproj file:
<ItemGroup>
<FrameworkReference Include="Microsoft.WindowsDesktop.App" />
</ItemGroup>

Re: How to start with .net core 5.0

Posted: Tue Jul 27, 2021 7:07 am
by Andrew
Hello,

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