Errors while installing mgcb-editor

Maybe it’s a sign that you don’t need the thing. You really don’t, there are much better options.

What are they if don’t mind telling.

Can you elaborate, i am not getting it.

I’m so glad you asked! GitHub - Martenfur/Nopipeline: A Monogame Content Pipeline enhancer.

It looks neat ngl.

@DevGa_me did you get your problem resolved.
I am getting an error, which seems to be due to not having the nuget package folder in the NuGetTargets location.
The problem is, I don’t know where that location ought to be, or why an old project of Visual Studio 2015 is being searched.
I am using VS2019 command line. :roll_eyes: Maybe it’s using a cache.

C:\Program Files\dotnet\sdk\5.0.401\NuGet.targets(131,5): error : The local source 'C:\Users\Jill\Documents\Visual Studio 2015\Projects\OpenGLwGLFW\packages' doesn't exist. [C:\Users\Jill\AppData\Local\Temp\hjjba2uw.alv\restore.csproj]
The tool package could not be restored.
Tool 'dotnet-mgcb-editor' failed to install. 

I have already tried specifying the version, but that did not help.
Has anyone any idea, how I can specify NuGetTargets, to find the packages it is looking for? I have no idea.

Ah. I located the problem.
I used --verbosity n, and was able to see what was happening.

dotnet tool install dotnet-mgcb-editor --ignore-failed-sources --no-cache --verbosity n --version 5.0.401 --tool-path C:\dotnet-tools

It’s trying to restore packages for projects.

Build started 9/23/2021 2:34:44 PM.
1>Project “C:\Users\Jill\AppData\Local\Temp\icj2s3dt.k4p\restore.csproj” on
node 1 (Restore target(s)).
Determining projects to restore…
Restoring packages for C:\Users\Jill\AppData\Local\Temp\icj2s3dt.k4p\re
1>C:\Program Files\dotnet\sdk\5.0.401\NuGet.targets(131,5): warning NU1801:
The local source ‘C:\Users\Jill\Documents\Visual Studio 2015\Projects\OpenGLwGL
FW\packages’ doesn’t exist. [C:\Users\Jill\AppData\Local\Temp\icj2s3dt.k4p\resto

Why it’s doing so, is due to the fact that I had edited the NuGet.config file to search for packages is specific places, which were for earlier projects, I have deleted.

That’s a relief. :relieved:

Spoke too quickly.
That’s just one problem. :frowning:

More work. :biohazard:
I got it. I had the wrong version. Should be --version
It’s working now. :slight_smile: