Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applied the suggested changes for #6728. #8281

Open
wants to merge 139 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
b2a8062
Merge pull request #7291 from MonoGame/develop
tomspilman Aug 10, 2020
15a6079
Merge pull request #7293 from MonoGame/develop
tomspilman Aug 10, 2020
f79c288
Merge pull request #7295 from MonoGame/develop
tomspilman Aug 10, 2020
7165884
Merge pull request #7823 from MonoGame/develop
mrhelmut Jul 24, 2022
00cc76f
Merge pull request #7846 from MonoGame/develop
mrhelmut Jul 24, 2022
cd81db5
Merge pull request #7862 from MonoGame/develop
mrhelmut Jul 26, 2022
4896665
Update mgfxc_wine_setup.sh to download dotnet x64 (#7899)
Tacodiva Aug 3, 2022
187768c
Point to that Patreon page. (#7904)
CartBlanche Aug 11, 2022
188644e
Updated install instructions to get wine working (#7911)
iCodeSometime Aug 23, 2022
07f2656
Attempt at fixing VS SDK errors on Github Actions
mrhelmut Sep 12, 2022
2a3c1f8
Improve some source code comments in the Desktop GL Solution
Brett208 Sep 10, 2022
87a9248
Set the SupportedOSPlatformVersion within the Android project file to…
Brett208 Aug 22, 2022
4a12f7d
Allowing comparing versions within Sdl.Version & account for new vers…
Brett208 Sep 10, 2022
3301939
Override Sdl.Version.ToString to allow future display of version number
Brett208 Sep 10, 2022
7c26580
Implement new Sdl.Version features in SdlGameWindow & SdlGamePlatform
Brett208 Sep 10, 2022
37e4948
Correct minor grammatical typos in Texture2D source code comments
Brett208 Aug 22, 2022
ee58833
Improved documentation for Ubuntu (#7932)
rejurime Sep 18, 2022
ebc98d3
Fix Android triggers (#7930)
mrhelmut Sep 18, 2022
9372879
Fix launching mgcb-editor on macOS
harry-cpp Jan 22, 2023
7a176c3
[GH Actions] Fix build failing on macOS (#8021)
harry-cpp Apr 18, 2023
40bae53
Fixes a bug where the divider's active region does not cover the full…
rbwhitaker Apr 18, 2023
e4dfd2f
Update copyright year to 2023 in LICENSE.txt (#8016)
occemper Apr 18, 2023
5d1f6e5
Fixes a mismatch with the fresnel factor between the writer and the r…
rbwhitaker Apr 16, 2023
8c6b543
Changes the default to 1.
rbwhitaker Apr 16, 2023
b62156e
Adds a description to an InvalidOperationException for clarity. (#8019)
rbwhitaker Apr 18, 2023
5544769
Fixes bug in `CalculateNormals` that picked the wrong normal for each…
rbwhitaker Apr 18, 2023
076cfa3
Removed unused code
Apostolique Mar 13, 2023
cf58634
Fix GLSL optimized matrix parameter
Apostolique Mar 13, 2023
4e64dc5
Fix buffer overflow in Windows Forms DragQueryFile call. (#7998)
PerryAsleep Apr 18, 2023
d49d529
Moved MSBuild Sdk version from global.json to csproj to fix solution …
corykroll Apr 18, 2023
88d8319
[ConsoleCheck] Disable C# 5 check
harry-cpp Apr 18, 2023
b3a911a
Added null check for ExtendedGamepad.ButtonOptions for iOS compatibil…
corykroll Apr 18, 2023
1d0c6f6
Added code to .targets to fix iOS Content inclusion (#7961)
corykroll Apr 18, 2023
712700b
Update MonoGame.Content.Builder.Task.targets
harry-cpp Apr 18, 2023
55b31ef
Add missing identity for mguwpcore template (#7957)
ahmed605 Apr 19, 2023
284b90d
Fix spelling and grammar (#7938)
SonicGDX Apr 19, 2023
8ece146
doc: Fix duplicate "automatically" typo for Content Pipeline article …
Xrayez Apr 19, 2023
20dcffd
Use SharpDX and NVorbis from nuget (#7933)
rejurime Apr 20, 2023
79ed450
[Docs] Add packaging instructions for universal macos apps (#8022)
harry-cpp Apr 20, 2023
9b6ec6d
Use SDL native library from NuGet (#8023)
harry-cpp Apr 20, 2023
fd1d451
Cleanup post merge of SharpDX / NVorbis nuget (#8024)
harry-cpp Apr 20, 2023
bb6bf97
Update packaging_games.md
harry-cpp Apr 28, 2023
b0ab813
Revert "[ConsoleCheck] Disable C# 5 check"
mrhelmut May 5, 2023
92ea8f9
Fix ConsoleCheck compilation (#8029)
harry-cpp May 7, 2023
ff5e1b7
Repsects setting `Window.Title` in `Game1` constructor (#8052)
AristurtleDev Sep 10, 2023
56b211d
Resloves `IndexOutOfBoundException` when `title` is an empty string b…
AristurtleDev Sep 10, 2023
a790a6b
GamePad Trigger Source Code Comment Spelling Correction (#8057)
Brett208 Sep 10, 2023
c5c8301
Grammatical only documentation corrections (#8056)
Brett208 Sep 10, 2023
8730e66
Added `GenereateDocumentationFile` So XML Is Generated and Included i…
AristurtleDev Sep 10, 2023
f8261c7
Replaces `format` with `platform` in error message so the correct err…
AristurtleDev Sep 10, 2023
7701b76
Added `postAction` to each template.json to perform dotnet restore au…
AristurtleDev Sep 10, 2023
335f3cb
[SDL] Fixed SdlGameWindow fails to load Icon.bmp. (#7983)
shin1m Sep 10, 2023
add29b0
Fixes DesktopGL template so Icons display in Window Titlebar and Task…
AristurtleDev Sep 10, 2023
56d5697
Added checks when opening files in content editor (#8040)
Nebulaxin Sep 10, 2023
2801e88
Remove VS for Mac templates (#8066)
harry-cpp Sep 10, 2023
8eb2dd4
Updated dotnet install command (#8069)
Meb-Do-Stuff Sep 13, 2023
9e2c5cb
Updataing Docs: Setting Up Your Development Environment Windows (#8071)
AristurtleDev Sep 17, 2023
87349a0
Add GitHub Issue Templates (#8075)
AristurtleDev Sep 22, 2023
914d4c2
Fix typo in MeshHelper.cs (#8072)
eltociear Sep 22, 2023
c05e347
Changed "Images" to "Files" (#8079)
AristurtleDev Sep 29, 2023
ba3ef39
Move docs to monogame.github.io repo (#8081)
harry-cpp Oct 4, 2023
435bde6
ILC warning (#8083)
mrhelmut Oct 16, 2023
0449e48
Showcase URL (#8097)
KAMiKAZOW Nov 23, 2023
c243ced
Migrate to .NET 8.0 (#8089)
AristurtleDev Nov 29, 2023
112363c
Remove "not" wording from branch check (#8100)
AristurtleDev Nov 29, 2023
fa9be55
Enable blank issues
harry-cpp Nov 29, 2023
a26aa4c
Prevent the timing of audio tests from overrunning
squarebananas Oct 13, 2021
62b4a0c
Removed blank spaces in Program.cs in two templates
Meteoroetem Apr 9, 2023
5f2fb6d
Update SDL_GameControllerDB
Vectovox Oct 25, 2023
092dcef
add Byte4TypeConverter as it was needed for a SkinnedModelProcesor th…
pr3luder May 21, 2019
5cc4422
removed unnecessary clearing of _queuedBuffers that can lead to problems
CidVonHighwind Jun 12, 2022
e0faba2
Swapped VSInputTxVc Color and TexCoord to match VertexPositionColorTe…
HouseOfPandas Aug 28, 2022
dc3e1b1
Wait building assemblies before running MGCB.
jvlppm Jun 11, 2018
8bb4f96
Updates to README.md fixing Urls and updating verbiage
JakeLegendXIII Nov 23, 2023
6920bad
Update MGCB Editor Help link
JakeLegendXIII Nov 23, 2023
d72ed47
Update README.md
JakeLegendXIII Dec 1, 2023
1e155af
Fix function loader ILC warning (#8105)
mrhelmut Dec 15, 2023
5b4f96d
Fixed _isRunningOnNetCore bug in ContentTypeReaderManager.cs (#7895)
Dec 16, 2023
19a948d
Add high-frequency touch events to iOS GameView (#8092)
Mindfulplays Dec 18, 2023
b18a818
Update docs for sync/test code (#8108)
Mindfulplays Dec 31, 2023
1ee407b
README formatting improvements (#8116)
harry-cpp Dec 31, 2023
1451e71
Bump GA workflow dependencies
harry-cpp Dec 31, 2023
856f8e4
Update urls to match website changes (#8119)
JakeLegendXIII Jan 10, 2024
2ac17df
Vector rotation helper functions in Vector2 (#8117)
itsBuggingMe Jan 11, 2024
68c855b
Fix building Windows tests (#8127)
mrhelmut Jan 22, 2024
f386058
Fix XAudio2 callback thread-safety (#8122)
mrhelmut Jan 22, 2024
8a00ed5
Patch to resolve an issue where a model with empty normals calls Mesh…
SimonDarksideJ Jan 28, 2024
799f986
Fix DesktopGL for documentation generation (#8142)
mrhelmut Jan 29, 2024
d2b0002
Update Copyright to MonoGame Foundation, Inc (#8126)
dellis1972 Jan 31, 2024
5bbfd6f
Remove unused compression libraries (#8144)
mrhelmut Jan 31, 2024
f264fe5
Update requirements.md to new site and .net 8 (#8145)
JakeLegendXIII Jan 31, 2024
d984306
Update WindowsDX csproj to Microsoft.NET.Sdk (#8150)
JakeLegendXIII Feb 4, 2024
2dec4e4
Fix the WindowsDX tests (#8153)
JakeLegendXIII Feb 5, 2024
b469428
Implement GetHashCode (#8156)
AristurtleDev Feb 5, 2024
637e182
Rename `uif` to `UIF` to resolve CS8981 (#8157)
AristurtleDev Feb 5, 2024
6a2e162
Resikve Invalid cref warning in BoundingBox (#8160)
AristurtleDev Feb 5, 2024
7010f63
Resolve CS3021 warning on public members (#8158)
AristurtleDev Feb 5, 2024
4050131
Remove obsolete `GetObjectData` method (#8162)
AristurtleDev Feb 5, 2024
56f06bf
Fix MGCB Color parsing error on ColorKeyColor (#8167)
JakeLegendXIII Feb 10, 2024
8f2746c
Add missing XML documentation for Album (#8172)
AristurtleDev Feb 13, 2024
1950d43
Add missing XML documentation for AlbumCollection (#8173)
AristurtleDev Feb 13, 2024
88975af
Add missing XML documentation for Alpha8 (#8174)
AristurtleDev Feb 13, 2024
5a266ee
Add missing XML documentation for Artist (#8176)
Maniekko Feb 13, 2024
40511ee
Fix to avoid allocation/garbage when submitting OpenAL buffers. (#8178)
ParanoidCactus Feb 15, 2024
5969819
Add stubs for the Native platform (#8191)
harry-cpp Feb 20, 2024
3725e00
[Docs] Spelling fixes an removing unknown param (#8201)
Brett208 Feb 25, 2024
59fea93
[Documentation]: Add XML documentation to Media namespace (#8183)
Maniekko Mar 1, 2024
9dbbd8d
[Documentation] Add missing XML documentation for Color (#8182)
AristurtleDev Mar 1, 2024
530375b
[2MGFX] Update error comment say NET 8 (#8218)
AristurtleDev Mar 5, 2024
18343dd
[2MGFX] Updates DOTNET_URL to current .net8 (#8219)
AristurtleDev Mar 5, 2024
54e8612
[2MGFX] Validate minimum Wine version of 8.0 for .NET 8 (#8220)
AristurtleDev Mar 5, 2024
01205cb
Update requirements.md platforms link and contributing.md tests link …
JakeLegendXIII Mar 6, 2024
a2f80e7
[Templates] Set MinimumOSVersion to 11.2 in Info.plist to match the c…
Trevogre Mar 7, 2024
71256da
[Documentation] Adds and Updates ContentTypeReaderManager XML Docume…
AristurtleDev Mar 12, 2024
f327ac1
[Documentation] Adds and Updates ContentTypeReader XML Documentation…
AristurtleDev Mar 12, 2024
f0a602b
[Documentation] Adds and Updates ContentSerializerAttribute XML Docum…
AristurtleDev Mar 12, 2024
5a56b1c
[Documentation] Adds and Updates ContentReaderExtensions XML Document…
AristurtleDev Mar 12, 2024
5d27d65
[Documentation] Adds and Updates ContentReader XML Documentation (#8…
AristurtleDev Mar 12, 2024
917b7fa
[Documentation] Adds and Updates ContentManager XML Documentation (#8…
AristurtleDev Mar 12, 2024
0f0e357
[Documentation]: Add missing XML docs for exception classes (#8209)
Maniekko Mar 12, 2024
ac1bb21
Add XML documentation to various EventArgs (#8210)
Maniekko Mar 12, 2024
7d3aec3
[Documentation]: Add missing XML documentation for Type Converter Cla…
AristurtleDev Mar 12, 2024
01a44e9
[Documentation]: Adds missing XML Documentation for PackedVector Name…
AristurtleDev Mar 12, 2024
11f6839
Add missing XML documentation for BlendState (#8180)
AristurtleDev Mar 12, 2024
60ab80d
[Documentation]: Add missing XML docs for various custom vertices typ…
Maniekko Mar 12, 2024
55444c1
[Documentation]: Adds missing XML Documentation for Audio namespace (…
Maniekko Mar 12, 2024
6eea7fc
Added and updated documentation for DefaultColorProcessor. (#8228)
AristurtleDev Mar 13, 2024
b9c6c98
[Documentation] Adds and Updates DepthStencilState XML Documentation …
AristurtleDev Mar 13, 2024
7a0f5ae
[Documentation] Adds and Updates DirectionalLight XML Documentation (…
AristurtleDev Mar 13, 2024
8f85feb
[Documentation] Adds DisplayMode XML Documentation (#8231)
AristurtleDev Mar 13, 2024
7cca99c
Adds documentation to the collections. (#8232)
Maniekko Mar 13, 2024
0f58a3b
small xml additions to CurveKey (#8233)
Maniekko Mar 13, 2024
bb421b2
[BuildScripts] Switch to CAKE Frosting (#8234)
harry-cpp Mar 14, 2024
104de45
[Documentation] Adds DisplayModeCollection XML Documentation (#8236)
AristurtleDev Mar 14, 2024
11a5d20
[BuildScripts] Versioning fixes (#8238)
harry-cpp Mar 14, 2024
7971178
[BuildScripts] Don't package ConsoleCheck (#8239)
harry-cpp Mar 14, 2024
4c9a577
VertexBuffer docs
Maniekko Apr 12, 2024
6089d87
Missed exception line
Maniekko Apr 12, 2024
e7297fc
Applied the suggested changes for #6728.
itsBuggingMe Apr 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 0 additions & 12 deletions .config/dotnet-tools.json

This file was deleted.

2 changes: 1 addition & 1 deletion .gitattributes
@@ -1,4 +1,4 @@
# MonoGame - Copyright (C) The MonoGame Team
# MonoGame - Copyright (C) MonoGame Foundation, Inc
# This file is subject to the terms and conditions defined in
# file 'LICENSE.txt', which is part of this source code package.

Expand Down
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Expand Up @@ -10,4 +10,4 @@
# issuehunt: # Replace with a single IssueHunt username
# otechie: # Replace with a single Otechie username
# custom: [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XHSP3K7VTENNW)
custom: http://www.monogame.net/donate/
patreon: MonoGame
109 changes: 109 additions & 0 deletions .github/ISSUE_TEMPLATE/01_bug_report.yml
@@ -0,0 +1,109 @@
name: Bug Report
description: Create a bug report to help us improve MonoGame.
body:
- type: markdown
attributes:
value: |
If this is a general question about MonoGame, please ask on the [community site](https://monogame.net/community) or [join the discord](https://discord.gg/monogame).
- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
options:
- label: I have verified this issue is present in the `develop` branch
required: true
- label: I have searched [open](https://github.com/MonoGame/MonoGame/issues) and [closed](https://github.com/MonoGame/MonoGame/issues?q=is%3Aissue+is%3Aclosed) issues to ensure it has not already been reported.
required: true
- type: input
id: monogame-version
validations:
required: true
attributes:
label: MonoGame Version
placeholder: MonoGame 3.8.1.303
description: Which version of MonoGame does this bug occur in.
- type: dropdown
id: monogame-platform
validations:
required: true
attributes:
label: Which MonoGame platform are you using?
options:
- MonoGame Android Application (mgandroid)
- MonoGame Cross-Platform Desktop Application (mgdesktopgl)
- MonoGame Windows Universal CoreApp Application (mguwpcore)
- MonoGame Windows Universal XAML Application (mguwpxaml)
- MonoGame Windows Desktop Application (mgwindowsdx)
- MonoGame iOS Application (mgios)
- N/A
- type: input
id: operating-system
validations:
required: true
attributes:
label: Operating System
placeholder: Windows, Mac, or Linux
description: Which operating system are you using?
- type: textarea
id: description
validations:
required: true
attributes:
label: Description
placeholder: Description
description: Please describe the bug you encountered.
- type: textarea
id: reproduction
validations:
required: true
attributes:
label: Steps to Reproduce
placeholder: |
Reproduction steps
Include code inside markdown code blocks like the following:

```cs
public void Foo()
{
return bar;
}
```
description: |
Please include the steps we can take to reproduce the problem.
Where possible, include text as text rather than screenshots so it can be searchable.
Please put code inside [markdown code blocks](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code)
- type: input
id: minimal-repo
validations:
required: false
attributes:
label: Minimal Example Repo
placeholder: https://github.com/MyGithub/ExampleRepo
description: |
If possible, please include a link to a repo where you have uploaded a minimal example that demonstrates the issue.
- type: textarea
id: expected-behavior
validations:
required: true
attributes:
label: Expected Behavior
placeholder: When I perform this action, I expect this result to occur.
description: Provide a description of the expected behavior.
- type: textarea
id: resulting-behavior
validations:
required: true
attributes:
label: Resulting Behavior
placeholder: This is the resulting behavior observed.
description: |
Provide a description of the resulting behavior observed.
Please include any error messages and/or stack traces if possible.
- type: textarea
id: other-info
validations:
required: false
attributes:
label: Files
description: |
Please upload any files or images here that can be useful in describing or reproducing this issue. If the file type cannot be supported, it can be zipped and then uploaded instead.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/02_feature_request.yml
@@ -0,0 +1,26 @@
name: Feature Request
description: Propose a feature to be added or removed from MonoGame.
labels: ["Feature Request"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to submit this feature request.
Please note that feature requests will be reviewed and discussed, which takes time, before approval or denial.
Please use the following template to help us gather the information we need to start this process.
- type: textarea
id: intent
validations:
required: true
attributes:
label: Intent
description: Please describe the intent of this new feature.
placeholder: Intent
- type: textarea
id: motivation
validations:
required: true
attributes:
label: Motivation
description: Please describe the motivation for wanting this feature to be implemented. How does it benefit the users of MonoGame?
placeholder: Motivation
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Community Forums
url: https://monogame.net/community
about: Ask the community for help on the community forums.
- name: Community Discord
url: https://discord.gg/monogame
about: Ask the community for help on the community discord.
123 changes: 40 additions & 83 deletions .github/workflows/main.yml
Expand Up @@ -9,24 +9,27 @@ jobs:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
fail-fast: false
steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
dotnet-version: '8.0.x'

- name: Setup Java
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '11'

- name: Disable annotations
run: echo "::remove-matcher owner=csc::"
- name: Restore dotnet tools
run: dotnet tool restore

- name: Install required workloads
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
Expand All @@ -37,85 +40,39 @@ jobs:
dotnet workload install android ios macos
fi
shell: bash
- name: Run build.cake
run: dotnet cake build.cake

- name: Build
run: dotnet run --project build/Build.csproj -- --target=Default

- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3

- name: Upload Artifacts
run: dotnet run --project build/Build.csproj -- --target=UploadArtifacts
env:
GITHUB_ACTIONS: true
- name: Package nuget artifacts
uses: actions/upload-artifact@main
with:
name: nuget-${{ matrix.os }}
path: |
Artifacts/NuGet/*.nupkg
if-no-files-found: error
- name: Package Visual Studio extension artifact
if: runner.os == 'Windows'
uses: actions/upload-artifact@main
with:
name: Visual Studio Extension
path: |
Artifacts/MonoGame.Templates.VSExtension/*.vsix
if-no-files-found: error
- name: Package Visual Studio Mac extension artifact
if: runner.os == 'macOS'
uses: actions/upload-artifact@main
with:
name: Visual Studio for Mac Extension
path: |
Artifacts/MonoGame.Templates.VSMacExtension/Release/net6.0/*.mpack
if-no-files-found: error
ACTIONS_RUNTIME_TOKEN: ${{ env.ACTIONS_RUNTIME_TOKEN }}
ACTIONS_RUNTIME_URL: "${{ env.ACTIONS_RUNTIME_URL }}"
deploy:
name: deploy
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
needs: [ build ]
if: ${{ github.event_name == 'push' }}
steps:
- name: Download NuGet artifacts from Windows
uses: actions/download-artifact@v3
with:
name: nuget-windows-latest
path: nuget-windows
- name: Download NuGet artifacts from macOS
uses: actions/download-artifact@v3
with:
name: nuget-macos-latest
path: nuget-macos
- name: Download NuGet artifacts from Ubuntu
uses: actions/download-artifact@v3
with:
name: nuget-ubuntu-latest
path: nuget-ubuntu
- name: Move NuGet packages to one folder
run: mkdir nuget && cp -Rf nuget-windows/. nuget && cp -Rf nuget-macos/. nuget && cp -Rf nuget-ubuntu/. nuget
- name: Push packages
run: dotnet nuget push nuget/*.nupkg --source https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json --api-key ${GITHUB_TOKEN}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Download VS extension
uses: actions/download-artifact@v3
with:
name: Visual Studio Extension
path: extension-win
- name: Download VS for Mac extension
uses: actions/download-artifact@v3
with:
name: Visual Studio for Mac Extension
path: extension-mac
- name: Make a release
uses: ncipollo/release-action@v1
with:
name: 'MonoGame ${{ github.ref_name }}'
body: 'This is the official MonoGame ${{ github.ref_name }} release source code and Visual Studio 2022 extensions for installing templates.'
tag: ${{ github.ref_name }}
draft: true
allowUpdates: true
removeArtifacts: true
artifacts: "**/*.vsix,**/*.mpack,nuget/*.nupkg"
token: ${{ secrets.GITHUB_TOKEN }}
if: github.ref_type == 'tag'
name: Deploy
needs: [ build ]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
permissions:
packages: write
contents: write
steps:
- name: Clone Repository
uses: actions/checkout@v4

- name: Setup .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3

- name: Push GitHub Nugets
run: dotnet run --project build/Build.csproj -- --target=DeployNuGetsToGithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions .gitmodules
@@ -1,9 +1,6 @@
[submodule "ThirdParty/Dependencies"]
path = ThirdParty/Dependencies
url = https://github.com/MonoGame/MonoGame.Dependencies.git
[submodule "ThirdParty/NVorbis"]
path = ThirdParty/NVorbis
url=https://github.com/NVorbis/NVorbis.git
[submodule "ThirdParty/SDL_GameControllerDB"]
path = ThirdParty/SDL_GameControllerDB
url = https://github.com/gabomdq/SDL_GameControllerDB.git
Expand Down
22 changes: 22 additions & 0 deletions Build.sln
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build", "build/Build.csproj", "{2FDDBAF1-F6B2-4770-8218-FC3681DE1017}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2FDDBAF1-F6B2-4770-8218-FC3681DE1017}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2FDDBAF1-F6B2-4770-8218-FC3681DE1017}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2FDDBAF1-F6B2-4770-8218-FC3681DE1017}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2FDDBAF1-F6B2-4770-8218-FC3681DE1017}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion CODESTYLE.md
Expand Up @@ -76,7 +76,7 @@ Comments must provide added value or explanation to the code. Simply describing
### Copyright/License notice
Each file should start with a copyright notice. This is a short statement declaring the project name and copyright notice, and directing the reader to the license document elsewhere in the project. To avoid errors in doc comment builds, avoid using triple-slash doc comments.
```
// MonoGame - Copyright (C) The MonoGame Team
// MonoGame - Copyright (C) MonoGame Foundation, Inc
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
```
Expand Down