“…\source\Game2\Game2\bin\Debug\netcoreapp3.1\Game2.exe” specified in the “Game2” debug profile does not exist.
This is the error window I receive when trying to testrun my program in VS 2019. After a while poking around, I know that monogame hasn’t installed correctly for some reason.
The process I’m aware of is:
Install the mentioned workloads
Install the extension within VS
(Maybe) Run
“dotnet tool install --global dotnet-mgcb-editor
mgcb-editor --register”
in command-prompt.
In the case that this issue is something entirely different, I would also appreciate anyone telling me what causes it and how to fix it.
I hope for a quick response, because this issue is time-sensitive for me. I’m already falling behind assigned tasks because of this.
It would help if you detailed specifics, what OS you are on, which VS Packages you installed, which Project Type you are trying to create, what antivirus you are running…, etc…
So, lest say your folder name is something like “C:\Development\My Projects”, the space between ‘My’ and ‘Projects’ is what @MrValentine is refering to.
Game.2 doesn’t read in VS and I don’t see it when I look in the file location manually.
When I testrun the code, it tells me “There were build errors.” in a small white window, if that’s what you mean by building.
Otherwise, I’ve uninstalled and reinstalled Monogame a few times now, and I’m confident it should be done right. I was even walked through the process by someone else on one of the later times.
I mentioned my process in the original query.
(Sorry for a late reply, I was trying to work my way around my tasks without monogame, and forgot to return to this afterwards.)
In the followup window after that small white one, it just says game2.exe is missing from the netcoreapp3.1 folder.
Is there somewhere else I check for build errors? It doesn’t tell me anything else.
OK, so, that message is from VS just trying to run your .exe, but, if the exe failed to build, it can’t do that, so I am guessing your issue is before this point.
What happens if you right click on your projcet and select build?
If all goes well, you should be able to see this in the bottom left cornder of VS
If not, then VS should pop open the error window, like this (I just put a simple syntax error in my code)
Alright, I’ve done all of that.
I get a really long error description, the one with code MSB3073 as said before. Double-clicking takes me to line 138 in the MonoGame.Content.Builder.Task.targets file.
I don’t know what I’m looking at, so I don’t know what’s wrong.
OK, this looks like an issue similar to what a few people have had, me included with 3.8. And this is why @MrValentine was asking about spaces in your path.