C
C#11mo ago
ʙʀʊʍɨ

WinForm new form error

I am building an aplication to save records to excel but i get the following errors. I tried changing the output to Class Library (as suggested on Stack Overflow) but then it said Windows Application only. What can I do?
No description
No description
2 Replies
ʙʀʊʍɨ
ʙʀʊʍɨOP11mo ago
just found this out, if it helps
No description
lycian
lycian11mo ago
I'm not sure I follow. Class Library by itself won't be a runnable application. You should have https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props-desktop#usewindowsforms
MSBuild properties for Microsoft.NET.Sdk.Desktop - .NET
Reference for the MSBuild properties and items that are understood by the .NET Desktop SDK, which includes WPF and WinForms.
Want results from more Discord servers?
Add your server