Skip to content

Commit c5f69f5

Browse files
Merge branch 'main' into PublishSingleFile
2 parents 42b90cb + b2aac1b commit c5f69f5

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

articles/getting_started/2_choosing_your_ide_visual_studio.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ When installing Visual Studio, the following workloads are required depending on
3535

3636
To create new MonoGame projects from within Visual Studio 2022, you will need to install the **MonoGame Framework C# project templates** extension. The following steps demonstrate how to install the extension.
3737

38+
> [!WARNING]
39+
> **Visual Studio Extension Issues**
40+
>
41+
> The extension that is installed by Visual Studio 2022 is currently outdated.
42+
> Instead of using Visual Studio 2022 to install the templates, run the following command:
43+
> ```sh
44+
> dotnet new install MonoGame.Templates.CSharp
45+
> ```
46+
> After doing this, you should be able to launch Visual Studio 2022 and create a new project with the newly installed templates.
47+
3848
1. Launch Visual Studio 2022
3949
2. Select **Continue without code**. This will launch Visual Studio without any project or solution opened.
4050
@@ -86,4 +96,4 @@ To get you started with Visual Studio, here are the steps for setting up a new M
8696
8797
Next, get to know MonoGame's code structure and project layout:
8898
89-
- [Understanding the code](3_understanding_the_code.md)
99+
- [Understanding the code](3_understanding_the_code.md)

articles/getting_started/packaging_games.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ However, you do need to currently add some additional settings to your `.csproj`
174174

175175
The `TrimmerRootAssembly` stops the trimmer removing code from these assemblies. This should allow the game to run without
176176
any issues. However if you are using any Third Party or additional assemblies, you might need to add them to this list or fix your code to be `Aot` compliant.
177-
It is recommended that you publish using AOT as it simplifies the app bundle.
177+
It is recommended that you publish using AOT as it simplifies the app bundle.
178+
179+
You may see some trim and AOT analysis warnings related to MonoGame when using PublishAOT, even after adding `TrimmerRootAssembly` - these are normal and should not present any issue.
178180

179181
See [Trim self-contained deployments and executables](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trim-self-contained) for more information.
180182

articles/tutorials.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ Check out the awesome work of the larger MonoGame community with their own tutor
5151
- [Batholith Entertainment Game dev tutorials](https://www.youtube.com/playlist?list=PLZ6ofHM1rvK8lQSoKX1USZstM-ZXikFHp)
5252
- [Let's Code: The T-Rex Runner Game with MonoGame](https://www.youtube.com/watch?v=DJCQVJ83J1U)
5353

54+
## Shaders
55+
- [MonoGame-Pixel-Planets - a port of Pixel Planets made by DeepFold with a lot of GLSL shaders converted to HLSL](https://github.com/EnthusiastGuy/MonoGame-Pixel-Planets)
56+
- [MonoGame-Shader-Samples](https://github.com/cpt-max/MonoGame-Shader-Samples)
57+
5458
## Others
5559

5660
- [Dark Genesis Blog MonoGame content](http://darkgenesis.zenithmoon.com/tag/monogame/)

0 commit comments

Comments
 (0)