C
C#4mo ago
.Kuromesa.

✅ monogame help

what the fuck?
No description
68 Replies
sibber
sibber4mo ago
why is everything grayed out also show the whole error message pls
.Kuromesa.
.Kuromesa.OP4mo ago
[{ "resource": "/C:/Users/gabri/.nuget/packages/monogame.content.builder.task/3.8.3/build/MonoGame.Content.Builder.Task.targets", "owner": "csharp-build", "code": "MSB3073", "severity": 8, "message": "The command ""dotnet" "mgcb" /quiet /@:"C:\Users\gabri\OneDrive\Desktop\monotest\monotest\monotest\Content\Content.mgcb" /platform:DesktopGL /outputDir:"C:/Users/gabri/OneDrive/Desktop/monotest/monotest/monotest/Content/bin/DesktopGL/Content" /intermediateDir:"C:/Users/gabri/OneDrive/Desktop/monotest/monotest/monotest/Content/obj/DesktopGL/net8.0/Content" /workingDir:"C:/Users/gabri/OneDrive/Desktop/monotest/monotest/monotest/Content/"" exited with code 1. [C:\Users\gabri\OneDrive\Desktop\monotest\monotest\monotest\monotest.csproj]", "startLineNumber": 155, "startColumn": 5, "endLineNumber": 155, "endColumn": 5 }]
.Kuromesa.
.Kuromesa.OP4mo ago
i restarted vsc and now it just does this with no errors
No description
sibber
sibber4mo ago
never used monogame before but what happens if you build from the cli
.Kuromesa.
.Kuromesa.OP4mo ago
whats the cli?
Angius
Angius4mo ago
And if you move it out of onedrive
.Kuromesa.
.Kuromesa.OP4mo ago
onedrive is uninstalled from my pc so idk why its there
PaperClip
PaperClip4mo ago
make sure you have a .config folder for the monogame mgcb tool
.Kuromesa.
.Kuromesa.OP4mo ago
No description
Angius
Angius4mo ago
dotnet run in the terminal Ctrl+~ to open it
.Kuromesa.
.Kuromesa.OP4mo ago
No description
Angius
Angius4mo ago
cd to the dir with csproj file
.Kuromesa.
.Kuromesa.OP4mo ago
uh what does that mean
Angius
Angius4mo ago
cd is a command to move to a given directory .csproj file is the file that describes your project You need to call dotnet run from the directory that has the project file Since you decided to use VS Code, you should get to know the CLI intimately lol
.Kuromesa.
.Kuromesa.OP4mo ago
No description
Angius
Angius4mo ago
dotnet --list-sdks And not cut off...?
.Kuromesa.
.Kuromesa.OP4mo ago
No description
Angius
Angius4mo ago
dotnet --info
.Kuromesa.
.Kuromesa.OP4mo ago
No description
PaperClip
PaperClip4mo ago
were you able to run it before? before you added player.png or was that always there
.Kuromesa.
.Kuromesa.OP4mo ago
yes
Angius
Angius4mo ago
Judging by https://github.com/MonoGame/MonoGame/discussions/8487, try dotnet nuget locals --clear followed by dotnet restore and see what happens
.Kuromesa.
.Kuromesa.OP4mo ago
No description
Angius
Angius4mo ago
Also, move the project out of OneDrive
.Kuromesa.
.Kuromesa.OP4mo ago
i dont own onedrive its uninstalled
Angius
Angius4mo ago
No description
Angius
Angius4mo ago
As if Microsoft would let you uninstall it lmao Just to be safe, move it out of OneDrive regardless
.Kuromesa.
.Kuromesa.OP4mo ago
yeah i just never bothered
Angius
Angius4mo ago
Judging by https://community.monogame.net/t/error-msb3073-the-command-dotnet-mgcb/19915/2, it could be the dotnet-tools.json got locked or whatever, and I can only suspect OD of doing that
.Kuromesa.
.Kuromesa.OP4mo ago
can i...unlock it?
Angius
Angius4mo ago
Click the link https://community.monogame.net/t/resolving-mgcb-editor-not-found-error/19419 here's some more ways to potentially resolve the issue And once you do, move the project out of OneDrive
.Kuromesa.
.Kuromesa.OP4mo ago
mf does it matter? or it is a pet peeve
Angius
Angius4mo ago
Yes, it matters OneDrive does weird shit with files Doesn't matter when it's cat pictures, matters when it's code and OD suddenly decides it wants to sync the files up or w/e
.Kuromesa.
.Kuromesa.OP4mo ago
my onedrive is not in use at all
Angius
Angius4mo ago
Aight, let's continue trying to figure out the issue without ruling out one potential cause Why not If dragging and dropping a folder somewhere else is such a chore, we can do that, sure
.Kuromesa.
.Kuromesa.OP4mo ago
No description
Angius
Angius4mo ago
No description
.Kuromesa.
.Kuromesa.OP4mo ago
No description
Angius
Angius4mo ago
I guess that looks fine Try the solution from the other thread
.Kuromesa.
.Kuromesa.OP4mo ago
moved it out of onedrive, no luck still
PaperClip
PaperClip4mo ago
it might just be a normal build issue it was working before he added the image
.Kuromesa.
.Kuromesa.OP4mo ago
i can try removing it?
PaperClip
PaperClip4mo ago
yes when you build, copy down the error message
MODiX
MODiX4mo ago
Angius
https://community.monogame.net/t/resolving-mgcb-editor-not-found-error/19419 here's some more ways to potentially resolve the issue
Quoted by
<@85903769203642368> from #monogame help (click here)
React with ❌ to remove this embed.
PaperClip
PaperClip4mo ago
its gonna say something like command "dotnet mgcb /quiet ..." copy that command and run it manually without the quiet flag or, if you are able to open the .mgcb file in the mgcb editor click the build button at the top and mgcb gives you detailed errors
.Kuromesa.
.Kuromesa.OP4mo ago
removed the image and still nothing
PaperClip
PaperClip4mo ago
. do this
.Kuromesa.
.Kuromesa.OP4mo ago
No description
PaperClip
PaperClip4mo ago
what does dotnet tool list --global show
.Kuromesa.
.Kuromesa.OP4mo ago
No description
PaperClip
PaperClip4mo ago
hmm so it is local for you run dotnet build again and copy the command it gives you, without the quiet flag
.Kuromesa.
.Kuromesa.OP4mo ago
No description
.Kuromesa.
.Kuromesa.OP4mo ago
i dont understand what you mean
PaperClip
PaperClip4mo ago
oh this might be a bug w/ the new stuff
.Kuromesa.
.Kuromesa.OP4mo ago
so theres nothing i can do?
PaperClip
PaperClip4mo ago
what does your .csproj look like
.Kuromesa.
.Kuromesa.OP4mo ago
No description
PaperClip
PaperClip4mo ago
your .csproj file
PaperClip
PaperClip4mo ago
No description
PaperClip
PaperClip4mo ago
here
.Kuromesa.
.Kuromesa.OP4mo ago
No description
PaperClip
PaperClip4mo ago
change the * -> 3 3.8.3
.Kuromesa.
.Kuromesa.OP4mo ago
No description
.Kuromesa.
.Kuromesa.OP4mo ago
does not work still
PaperClip
PaperClip4mo ago
ugh what about 3.8.2.1105
.Kuromesa.
.Kuromesa.OP4mo ago
nope @paperClip any more ideas?
PaperClip
PaperClip4mo ago
join the monogame discord i know who can help
ero
ero4mo ago
you can uninstall it just fine...

Did you find this page helpful?