✅ Editing Project File caused Solution to break
So I tried editing the program file as for some reason the using System.Windows.Forms reference was showing an error and so I thought adding it manually in the project file. However after doing that and building the project again, it's shown up with the error messages. I removed the changes and re-built the project but it's still not working. It's all gone now
10 Replies
UseWindowsForms
is a property, and should be inside ProperyGroup
blockSo should I delete the line of code inside the item group block
Yeah since you already have the same line in the right place
same error
Nothing's changed
Show the full error
It looks like you removed the wrong line. Can you show the edited project file?
Wait, nvm, I think my Visual studio just wasn't working
It's all good now
Use the /close command to mark a forum thread as answered
I still have a problem with the reference not working: