Skip to content

Commit e5982b9

Browse files
Use correct heading levels
1 parent 9917d6a commit e5982b9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/migration/updating_versions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ description: A guide on updating MonoGame when a new release is pushed.
55

66
When a new release of MonoGame is pushed, developers will need to manually update their development environment and/or existing project to make use of the new version. This guide is intended to walk you through the steps of performing these updates.
77

8-
# Update dotnet Templates
8+
## Update dotnet Templates
99
Developers will need to update the MonoGame C# Templates used to create new projects. Doing this depends on if you are using Visual Studio 2022 or through the dotnet cli.
1010

11-
## Visual Studio 2022
11+
### Visual Studio 2022
1212
Develoeprs using Visual Studio 2022 should be using the [MonoGame C# Project Templates](https://marketplace.visualstudio.com/items?itemName=MonoGame.MonoGame-Templates-VSExtension) extension. This provides not only the tempaltes but also the functinality to open the *MonoGame Content Builder Editor* (MGCB Editor) within Visual Studio. You can update the extension by performing the following
1313

1414
1. Open Visual Studio 2022
@@ -18,7 +18,7 @@ Develoeprs using Visual Studio 2022 should be using the [MonoGame C# Project Tem
1818

1919
If prompted to close Visual Studio to finish the update, do so now to continue installing the update.
2020

21-
## dotnet CLI (VSCode/Rider)
21+
### dotnet CLI (VSCode/Rider)
2222
Develoeprs using the dotnet CLI with environments such as Visual Studio Code, JetBrains Rider, or other editors, can exceute the following command in a command prompt/terminal to update the templates
2323

2424
```sh
@@ -30,16 +30,16 @@ The templates must be uninstalled first before the updated tempaltes are install
3030

3131
Alternatively, you can perform `dotnet new update` which will update all templates installed to their most current version avaialble. However, this may affect other templates you have installed that you may not wish to update, it's an all or nothing command.
3232

33-
# Update Existing Projects
33+
## Update Existing Projects
3434
Developers wishing to update their current project to use a new release version only need to update the *target framework*, *NuGet package verions*, and *dotnet tools* version. Doing this dpeends on if you are using Visual Studio 2022 or another development environment
3535

36-
## Visual Studio 2022
36+
### Visual Studio 2022
3737
Open your existing project in Visual Studio 2022 and perform the following
3838
1. Right-click on the project in the *Solution Explorer* panel and select *Manage NuGet Packages...".
3939
2. In the NuGet Packages Manager window, click the *Updates* tab.
4040
3. Select the MonoGame Framework packages in the list on the left, then click the *Update* button for each one on the right.
4141

42-
## Manually Editing .csproj File
42+
### Manually Editing .csproj File
4343
Alternatively, regardless of the development environment, developers can manually edit the *.csproj* file for their project to update to the newest MonoGame release. To do this
4444
1. Open your project's *.csproj* file
4545
2. Locate the `<PacakgeReference>` elements for any MonoGame referenced packages.
@@ -53,7 +53,7 @@ dotnet clean
5353
dotnet restore
5454
```
5555

56-
## Update MGCB Editor
56+
### Update MGCB Editor
5757
Regardless of the development environment, users will need to update the dotnet tools manifest file manually to use the newest version of the *MonoGame Content Builder*. To do this:
5858
1. Open the *.config/dotnet-tools.json* manifest file located in the project root directory
5959
2. Update the version specified for each tool to the current version of MonoGame (currently this is `3.8.2.1105`).

0 commit comments

Comments
 (0)