everytime i try setting up monogame with visual studio i keep getting these two annoying errors that i can’t find a good solution to, the first one being the Xna namespace not being found and the other error is related to something about directories i don’t know
Do you have a space in your windows username (user folder)? If yes maybe this is the reason?
I see a space in the highlighted error in the screenshot. Please recheck.
there isn’t a space in the project directory
It is most definitely due to having a space in your username.
the new project directory is in C:\ exactly and isn’t in any user folders
Again. It doesn’t matter where your project is. Nugets are broken and don’t support usernames with spaces. You need to change your username and its directory to get it to work.
what do you mean exactly by usernames?
С:/Users/YourUsername
ohh alright
Glad you finally got it…
This, I did not think about… added to list of reasons I hate NuGET, despite it being pretty cool…
It’s not nuget, it’s Monogame team’s fault. There are quote marks missing in one of the .targets files. It is literally a five minute fix, and it’s beyond me why there’s still no patch release.
Because NuGET is a pain?
But yes, some serious annoyances with the UWP package too but I already provided the fix in a post on here