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/migration/updating_versions.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -18,16 +18,16 @@ description: A guide on updating MonoGame when a new release is pushed.
18
18
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.
19
19
20
20
## Update Existing Projects
21
-
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.
21
+
Developers wishing to update their current project to use a new release version only need to update the *target framework*, *NuGet package versions*, and *dotnet tools* version. Doing this depends on if you are using Visual Studio 2022 or another development environment.
22
22
23
23
### Update Target Framework
24
-
Developers will need to ensure the project is updated to target the .NET version used by MonoGame at minimum (currenty`net8.0`). To do this, open your project's *.csproj* file and find the `<TargetFramework>` element and change the `net-X.Y` version to `net-8.0`, then save the file.
24
+
Developers will need to ensure the project is updated to target the .NET version used by MonoGame at minimum (currently`net8.0`). To do this, open your project's *.csproj* file and find the `<TargetFramework>` element and change the `net-X.Y` version to `net-8.0`, then save the file.
25
25
26
26
> [!NOTE]
27
-
> Only change the .NET version number. some projext types have platform specifiers such as `net6.0-windows`. The only thing that should change here is the version number.
27
+
> Only change the .NET version number. some project types have platform specifiers such as `net6.0-windows`. The only thing that should change here is the version number.
28
28
29
29
### Update NuGet References
30
-
The following sections cover updating your NuGet packages for existing projects based om your developmemt environment.
30
+
The following sections cover updating your NuGet packages for existing projects based on your development environment.
31
31
32
32
#### Visual Studio 2022
33
33
Open your existing project in Visual Studio 2022 and perform the following
@@ -71,17 +71,17 @@ Developers will need to update the MonoGame C# Templates used to create new proj
71
71
> Updating the templates will not affect existing projects. if developers wish to update existing project, see the info in the [Update Existing Projects](#update-existing-projects) section.
72
72
73
73
#### Visual Studio 2022
74
-
Developers 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
74
+
Developers 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 templates but also the functionality to open the *MonoGame Content Builder Editor* (MGCB Editor) within Visual Studio. You can update the extension by performing the following
75
75
76
76
1. Open Visual Studio 2022
77
-
2. In the lanuch window, choose the *Continue without code* option at the bottom on the right.
77
+
2. In the launch window, choose the *Continue without code* option at the bottom on the right.
78
78
3. From the top menu choose, *Extensions > Manage Extensions* to open the *Extension Manager* panel.
79
79
4. Click the *Updates* tab and choose *MonoGame Framework C# project templates* and update it to the latest version.
80
80
81
81
If prompted to close Visual Studio to finish the update, do so now to continue installing the update.
82
82
83
83
#### dotnet CLI (VSCode/Rider)
84
-
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
84
+
Developers using the dotnet CLI with environments such as Visual Studio Code, JetBrains Rider, or other editors, can execute the following command in a command prompt/terminal to update the templates
85
85
86
86
```sh
87
87
dotnet new install MonoGame.Templates.CSharp
@@ -94,4 +94,4 @@ dotnet new install MonoGame.Templates.CSharp
94
94
> dotnet new uninstall MonoGame.Templates.CSharp
95
95
>```
96
96
97
-
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.
97
+
Alternatively, you can perform `dotnet new update` which will update all templates installed to their most current version available. However, this may affect other templates you have installed that you may not wish to update, it's an all or nothing command.
0 commit comments