Unsure how this community usually handles issues as I’m new here, but I encountered a problem setting up my environment. Upon launch my build fails with MSB3073, as the path to where the tool is located is incomplete.
I was greeted with
Could not execute because the specified command or file was not found.
Possible reasons for this include:
- You misspelled a built-in dotnet command.
- You intended to execute a .NET Core program, but dotnet-C:\Users\X does not exist.
- You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
where the user folder is actually “X Y”
Turns the command in RunContentBuilder is
" Command="$(DotnetCommand) $(MGCBPath) $(MonoGameMGCBAdditionalArguments) /@:"%(ContentReference.FullPath)" /platform:$(MonoGamePlatform) /outputDir:"%(ContentReference.ContentOutputDir)" /intermediateDir:"%(ContentReference.ContentIntermediateOutputDir)" /workingDir:"%(ContentReference.FullDir)"""
where placing " around the MGCBPath resolves my issue.
Hopefully this is helpful to anyone else encountering this issue.