C
C#8mo ago
AceChewy

✅ 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
No description
No description
10 Replies
nukleer bomb
nukleer bomb8mo ago
UseWindowsForms is a property, and should be inside ProperyGroup block
AceChewy
AceChewy8mo ago
So should I delete the line of code inside the item group block
nukleer bomb
nukleer bomb8mo ago
Yeah since you already have the same line in the right place
AceChewy
AceChewy8mo ago
same error Nothing's changed
nukleer bomb
nukleer bomb8mo ago
Show the full error
AceChewy
AceChewy8mo ago
No description
nukleer bomb
nukleer bomb8mo ago
It looks like you removed the wrong line. Can you show the edited project file?
AceChewy
AceChewy8mo ago
Wait, nvm, I think my Visual studio just wasn't working It's all good now
MODiX
MODiX8mo ago
Use the /close command to mark a forum thread as answered
AceChewy
AceChewy8mo ago
I still have a problem with the reference not working:
No description