Skip to content

Commit ebca78c

Browse files
Add 3.8.0 to 3.8.1 uninstallation info
1 parent 2c461d6 commit ebca78c

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

articles/migrate_38.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Migrating from 3.8.0 should be straightforward for most platforms.
99

1010
The major difference is that 3.8.1 now requires .NET 6 and Visual Studio 2022. You can follow the [environment setup tutorial](getting_started/index.md) to make sure that you are not missing any components.
1111

12-
The MGCB Editor is no longer a global .NET tool and we recommend that you use the new Visual Studio 2022 extension which helps accessing it without the need of CLI commands.
12+
The MGCB Editor is no longer a global .NET tool and we recommend that you use the new Visual Studio 2022 extension which helps with accessing it without the need of CLI commands. It is also recommended that you uninstall the older global versions of the .NET tools as described below.
1313

1414
## WindowsDX, DesktopGL, and UWP
1515

@@ -30,41 +30,48 @@ Then edit your MonoGame ```PackageReference``` to point to 3.8.1:
3030

3131
### Accessing MGCB and MCGB Editor without a global tool
3232

33-
MGCB Editor is no longer a .NET global tool, and doesn't need to be installed or registered.
33+
The MGCB Editor is no longer a .NET global tool, and doesn't need to be installed or registered. When migrating from 3.8.0, it is recommended that you uninstall the global versions of the tools. You can accomplish that with these commands:
3434

35-
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 nammed ```dotnet-tools.json``` with this content:
35+
```
36+
dotnet tool uninstall dotnet-mgcb -g
37+
dotnet tool uninstall dotnet-2mgfx -g
38+
dotnet tool uninstall dotnet-mgcb-editor -g
39+
```
40+
**Do not** run the ``` dotnet tool install ``` on 3.8.1, as it would break 3.8.1.
41+
42+
You will also need to setup a dotnet-tools configuration file. Next to your ```.csproj```, create a folder named ```.config``` and a file within it named ```dotnet-tools.json``` with this content:
3643

3744
```json
3845
{
3946
"version": 1,
4047
"isRoot": true,
4148
"tools": {
4249
"dotnet-mgcb": {
43-
"version": "3.8.1.263",
50+
"version": "3.8.1.303",
4451
"commands": [
4552
"mgcb"
4653
]
4754
},
4855
"dotnet-mgcb-editor": {
49-
"version": "3.8.1.263",
56+
"version": "3.8.1.303",
5057
"commands": [
5158
"mgcb-editor"
5259
]
5360
},
5461
"dotnet-mgcb-editor-linux": {
55-
"version": "3.8.1.263",
62+
"version": "3.8.1.303",
5663
"commands": [
5764
"mgcb-editor-linux"
5865
]
5966
},
6067
"dotnet-mgcb-editor-windows": {
61-
"version": "3.8.1.263",
68+
"version": "3.8.1.303",
6269
"commands": [
6370
"mgcb-editor-windows"
6471
]
6572
},
6673
"dotnet-mgcb-editor-mac": {
67-
"version": "3.8.1.263",
74+
"version": "3.8.1.303",
6875
"commands": [
6976
"mgcb-editor-mac"
7077
]

articles/whats_new.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ MonoGame 3.8.1 now comes with an optional Visual Studio extension which will ins
2020

2121
This extension is available for Visual Studio 2022, and Visual Studio 2022 for Mac.
2222

23+
If you are migrating from 3.8.0 it is recommended to uninstall the existing global MGCB .NET tools. It would be a good idea to review the [Migrating from 3.8.0](migrate_38.md) documentation, as there are changes to how 3.8.1 works with the .NET tools and the new extension.
24+
2325
## Visual Studio 2019 and prior are no longer supported
2426

2527
Since .NET 6 is not supported by Visual Studio 2019, starting with MonoGame 3.8.1 it will no longer be possible to build games with it.

0 commit comments

Comments
 (0)