First off, the new 3.8 prerelease pipeline tool (now called MGCB Editor) is a .NET Core tool, which basically means it’s a nuget package that contains an app. There’s no real “installation” – aside from the optional mgcb-editor --register command, nothing touches your registry or is written to your system aside from the standard nuget and dotnet folders. So if you avoid installing things to not clutter your system (like me), I would read up about .NET Core tools and maybe reconsider, because .NET Core tools are lightweight, unintrusive, and pretty cool from a technical standpoint.
Now if you still want to build the pipeline tool from source, there are two ways.
You can open the MonoGame.Tools solution (MonoGame.Tools.Windows.sln if you’re building for Windows) and build directly in Visual Studio like normal. Doing it this way, the platform-specific Editor project is the best option (e.g. MonoGame.Content.Builder.Editor.Windows). The main MonoGame.Content.Builder.Editor project is just a launcher that wraps the 3 platform projects.
You can use the Cake tool to build. Cake is itself a .NET Core tool, so this option might not be as attractive if the whole point is to avoid installing tools. This would look like
And finally, if you want to avoid using the built-in content pipeline altogether, yes there are various other options for loading assets that you can find examples of in the forums.
Yes, it’s redirect me to official net core download page. But i don’t know which version of .net core i should install. I build the pipeline tool with latest version available.
You’ll need .NET Core 3.1. You can see that if you look at the Target Framework in the project properties.
But I think you must already have the SDK if you were able build it. This error occurs when running it, not building it, right? Can you explain which file or project you ran and exactly how you ran it? (e.g. clicking play on the MonoGame.Content.Builder.Editor project in Visual Studio, double clicking on mgcb-editor-wpf.exe, etc.)
Yes, I built a project. Then i go to MonoGame\Tools\MonoGame.Content.Builder.Editor\obj\Debug and run mgcb-editor-wpf.exe - this is where the warning shows up.
First thing to try: I never recommend trying to run anything from the obj folder. Those are always intermediate files. Try running from the bin folder.
Second: Try running by clicking the play button in Visual Studio, if that’s what you’re using to build.
EDIT: the bin folder for this repo is the Artifacts folder in the repo root directory.