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
+27-9Lines changed: 27 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,12 @@ 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.
13
+
14
+
15
+
::: note
16
+
It is also recommended that you uninstall the older global versions of the .NET tools as described below.
17
+
:::
13
18
14
19
## WindowsDX, DesktopGL, and UWP
15
20
@@ -30,41 +35,54 @@ Then edit your MonoGame ```PackageReference``` to point to 3.8.1:
30
35
31
36
### Accessing MGCB and MCGB Editor without a global tool
32
37
33
-
MGCB Editor is no longer a .NET global tool, and doesn't need to be installed or registered.
38
+
The MGCB Editor is no longer a .NET global tool, and does not 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:
39
+
40
+
```
41
+
dotnet tool uninstall dotnet-mgcb -g
42
+
dotnet tool uninstall dotnet-2mgfx -g
43
+
dotnet tool uninstall dotnet-mgcb-editor -g
44
+
```
45
+
46
+
::: tip
47
+
**Do not** run the ``` dotnet tool install ``` on 3.8.1, as it would break 3.8.1.
48
+
:::
49
+
50
+
You will also need to setup a dotnet-tools configuration file.
34
51
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:
52
+
- Next to your ```.csproj```create a folder named ```.config```
53
+
- Add a file within the folder named ```dotnet-tools.json``` with the following content:
36
54
37
55
```json
38
56
{
39
57
"version": 1,
40
58
"isRoot": true,
41
59
"tools": {
42
60
"dotnet-mgcb": {
43
-
"version": "3.8.1.263",
61
+
"version": "3.8.1.303",
44
62
"commands": [
45
63
"mgcb"
46
64
]
47
65
},
48
66
"dotnet-mgcb-editor": {
49
-
"version": "3.8.1.263",
67
+
"version": "3.8.1.303",
50
68
"commands": [
51
69
"mgcb-editor"
52
70
]
53
71
},
54
72
"dotnet-mgcb-editor-linux": {
55
-
"version": "3.8.1.263",
73
+
"version": "3.8.1.303",
56
74
"commands": [
57
75
"mgcb-editor-linux"
58
76
]
59
77
},
60
78
"dotnet-mgcb-editor-windows": {
61
-
"version": "3.8.1.263",
79
+
"version": "3.8.1.303",
62
80
"commands": [
63
81
"mgcb-editor-windows"
64
82
]
65
83
},
66
84
"dotnet-mgcb-editor-mac": {
67
-
"version": "3.8.1.263",
85
+
"version": "3.8.1.303",
68
86
"commands": [
69
87
"mgcb-editor-mac"
70
88
]
@@ -73,7 +91,7 @@ However, if you are migrating from 3.8.0, you will need to setup a configuration
73
91
}
74
92
```
75
93
76
-
Please note that you can't use the ```3.8.1.*``` wildcard in the ```dotnet-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).
94
+
Please note that you cannot use the ```3.8.1.*``` wildcard in the ```dotnet-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 are using the ```*``` wildcard, make sure that they do not end up mismatching if the nugets are updated without you noticing).
77
95
78
96
You will also need to add this to your ```.csproj```:
Copy file name to clipboardExpand all lines: articles/whats_new.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
-
title: What's New
3
-
description: What's new with the release of MonoGame 3.8.1
2
+
title: Whats New
3
+
description: Whats new with the release of MonoGame 3.8.1
4
4
---
5
5
6
-
# What's New
6
+
# Whats New
7
7
8
8
The MonoGame 3.8.1 release marks some big changes since 3.8.0 in how we build and distribute.
9
9
@@ -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