You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/migrate_38.md
+15-8Lines changed: 15 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Migrating from 3.8.0 should be straightforward for most platforms.
9
9
10
10
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.
11
11
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.
13
13
14
14
## WindowsDX, DesktopGL, and UWP
15
15
@@ -30,41 +30,48 @@ Then edit your MonoGame ```PackageReference``` to point to 3.8.1:
30
30
31
31
### Accessing MGCB and MCGB Editor without a global tool
32
32
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:
34
34
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:
Copy file name to clipboardExpand all lines: articles/whats_new.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ MonoGame 3.8.1 now comes with an optional Visual Studio extension which will ins
20
20
21
21
This extension is available for Visual Studio 2022, and Visual Studio 2022 for Mac.
22
22
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
+
23
25
## Visual Studio 2019 and prior are no longer supported
24
26
25
27
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