Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Edit MonoGame Content Builder files in VSCode

License

NotificationsYou must be signed in to change notification settings

MangriMen/mgcb-vscode

Repository files navigation

Install and set up the MGCB Editor.If you have dotnet installed:

Accessing MGCB and MCGB Editor without a global tool

MGCB Editor is no longer a .NET global tool, and doesn't need to be installed or registered.

However, if you are migrating from 3.8.0, you will need to setup a configuration file. Next to your.csproj, create a folder nammed.config and a file within it nammeddotnet-tools.json with this content:

{"version":1,"isRoot":true,"tools": {"dotnet-mgcb": {"version":"3.8.1.263","commands": ["mgcb"]    },"dotnet-mgcb-editor": {"version":"3.8.1.263","commands": ["mgcb-editor"]    },"dotnet-mgcb-editor-linux": {"version":"3.8.1.263","commands": ["mgcb-editor-linux"]    },"dotnet-mgcb-editor-windows": {"version":"3.8.1.263","commands": ["mgcb-editor-windows"]    },"dotnet-mgcb-editor-mac": {"version":"3.8.1.263","commands": ["mgcb-editor-mac"]    }  }}

Please note that you can't use the3.8.1.* wildcard in thedotnet-tools.json file (tool versions have to be fully qualified). We strongly recommand that the versions match the MonoGame version referenced in your.csproj (if you're using the* wildcard, make sure that they don't end up mismatching if the nugets are updated without you noticing).

You will also need to add this to your.csproj:

<TargetName="RestoreDotnetTools"BeforeTargets="Restore">  <MessageText="Restoring dotnet tools"Importance="High" />  <ExecCommand="dotnet tool restore" /></Target>

If you need old global version of MGCB editor

dotnet tool install --global dotnet-mgcb-editormgcb-editor --register

Note: If you are using the older versions of the editor, then you need to updateits path in the project's setting accordingly.


[8]ページ先頭

©2009-2025 Movatter.jp