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/getting_started/using_development_nuget_packages.md
+22-18Lines changed: 22 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Using the Development Nuget Packages
2
2
3
-
When the MonoGame develop branch builds it publishes development NuGet packages to the
3
+
When the MonoGame develop branch builds, it publishes development NuGet packages to the
4
4
MonoGame NuGet Feed on GitHub. If you want to test a new feature or just be on the
5
5
very latest code you can use this Feed to do that.
6
6
@@ -19,7 +19,7 @@ Then add the following content.
19
19
</configuration>
20
20
```
21
21
22
-
Next again in the root or top level directory create a `Directory.Build.props` file and add the following content.
22
+
Next, again in the root or top level directory, create a `Directory.Build.props` file and add the following content.
23
23
24
24
```xml
25
25
<Project>
@@ -28,10 +28,10 @@ Next again in the root or top level directory create a `Directory.Build.props` f
28
28
</PropertyGroup>
29
29
</Project>
30
30
```
31
-
`Directory.Build.props` is a MSBuild file which will be imported by all projects in your game.
32
-
Its like a file to contain global variables. In this case the version of MonoGame we want to use.
31
+
`Directory.Build.props` is an MSBuild file which will be imported by all projects in your game.
32
+
It is like a file that contains global variables. In this case the version of MonoGame we want to use.
33
33
34
-
To get the latest version you can look at one of the packages at [https://github.com/orgs/MonoGame/packages?repo_name=MonoGame](https://github.com/orgs/MonoGame/packages?repo_name=MonoGame). To get the information from the GitHub feed by doing a command line search with the following
34
+
To find out the latest version number, you can look at one of the packages at [https://github.com/orgs/MonoGame/packages?repo_name=MonoGame](https://github.com/orgs/MonoGame/packages?repo_name=MonoGame). Or to get the information from the GitHub feed, you can run the following command.
Note: You need to create a "PAT (Classic)" token in order for it to work with the Nuget feed. See [creating-a-personal-access-token-classic](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) for details.
92
93
93
-
Once you have your PAT you can create a new `NuGet.config` file in the directory ABOVE your game project directory.
94
-
To be clean this file should NOT be in your source tree. It should be outside of any directory which is under source control.
94
+
> [!IMPORTANT]
95
+
> You need to create a "PAT (Classic)" token in order for it to work with the Nuget feed. See [creating-a-personal-access-token-classic](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) for details.
96
+
97
+
Once you have your PAT, you can create a new `NuGet.config` file in the directory ABOVE your game project directory.
98
+
To be clear, this file should NOT be in your source tree. It should be outside of any directory which is under source control.
95
99
96
100
```
97
101
Projects
@@ -122,6 +126,6 @@ The contents of the file are as follows, replace `%GITHUB_USER%` with your GitHu
122
126
</configuration>
123
127
```
124
128
125
-
The really good thing about placing these credentials outside of source control is they are safe, but also any
126
-
new projects you create under that folder can also make use of these createntials. So its a good idea to keep them in one place.
127
-
For more information to you read [consuming-packages-authenticated-feeds](https://learn.microsoft.com/en-us/nuget/consume-packages/consuming-packages-authenticated-feeds#credentials-in-nugetconfig-files).
129
+
The really good thing about placing these credentials outside of source control is that they are safe. But also any
130
+
new projects you create under that folder can also make use of these createntials. So it is a good idea to keep them in one place.
131
+
For more information, you can read [consuming-packages-authenticated-feeds](https://learn.microsoft.com/en-us/nuget/consume-packages/consuming-packages-authenticated-feeds#credentials-in-nugetconfig-files).
0 commit comments