Skip to content

Commit 96ca7ca

Browse files
authored
Merge pull request #3308 from NuGet/main
Merge to live - June releases
2 parents 3997b54 + eed234f commit 96ca7ca

File tree

8 files changed

+48
-11
lines changed

8 files changed

+48
-11
lines changed

.github/workflows/stale-issues.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
- uses: actions/stale@v9
2323
with:
2424
repo-token: ${{ secrets.GITHUB_TOKEN }}
25-
stale-issue-message: 'Thanks for sharing your feedback. We apologize for our delayed response. Due to the sheer volume of feedback in our repo, we have decided to prioritize the newest issues and are automatically closing our oldest issues with an Issues bot. If you believe your feedback is still actionable, then either respond directly in this issue or open a new documentation issue and we’ll review. If no activity occurs in the next 14 days, this issue will be closed.'
25+
stale-issue-message: 'Thanks for sharing your feedback. We apologize for our delayed response. Throughout 2024 we are phasing out GitHub issues as the feedback mechanism on documentation content and replacing it with a new feedback system. If you believe your feedback needs to be reviewed prior to closing, then respond directly in this issue and we’ll take a look at it. If no activity occurs in the next 7 days, this issue will be closed.'
2626
close-issue-message: 'This issue is closed. If you feel this issue has been closed in error, please submit a new comment on the issue, and we will review it.'
2727
stale-issue-label: 'stale'
2828
close-issue-label: 'auto-close'
2929
exempt-issue-labels: 'exempt,P1'
3030
remove-stale-when-updated: true
31-
days-before-close: 14
32-
days-before-issue-stale: 90
31+
days-before-close: 7
32+
days-before-issue-stale: 20
3333
days-before-pr-stale: -1
3434
operations-per-run: 500

docs/consume-packages/Package-Source-Mapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ This configuration is advantageous if you primarily use packages from say, `nuge
150150
If your team doesn't use standard prefixes for internal package IDs or vets `nuget.org` packages prior to installation, then making a private source the default will suit your needs better.
151151

152152
> [!Note]
153-
> When the requested package already exists in the global packages folder, no source look-up will happen and the mappings will be ignored. Consider declaring a [global packages folder for your repo](../reference/nuget-config-file.md#config-section) to gain the full security benefits of this feature. Work to improve the experience with the default global packages folder in planned for a next iteration.
153+
> When the requested package already exists in the global packages folder, no source look-up will happen and the mappings will be ignored. Consider declaring a [global packages folder for your repo](../reference/nuget-config-file.md#config-section) to gain the full security benefits of this feature. Work to improve the experience with the default global packages folder is planned for a next iteration.
154154
To learn more about how package installation works, see [the conceptual document.](../concepts/package-installation-process.md)
155155

156156
### Get started

docs/install-nuget-client-tools.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Package Manager Console commands work only within Visual Studio on Windows and d
4040

4141
## Support policy
4242

43-
The Visual Studio for Windows support policy can be found at [Visual Studio Product Lifecycle and Servicing](https://learn.microsoft.com/visualstudio/productinfo/vs-servicing).
43+
The Visual Studio for Windows support policy can be found at [Visual Studio Product Lifecycle and Servicing](/visualstudio/productinfo/vs-servicing).
4444

4545

4646
The most recent version of NuGet.exe is fully supported and can be relied on for bug fixes, updates, and enhancements.
@@ -105,18 +105,18 @@ The following table compares the available features for the dotnet and `nuget.ex
105105

106106
| Feature | dotnet CLI | nuget CLI (Windows) | nuget CLI (Mono) | Visual Studio (Windows) | Visual Studio for Mac |
107107
| --- | --- | --- | --- | --- | --- |
108-
| Search packages | | ✔ | ✔ | ✔ | ✔ |
108+
| Search packages | ✔ | ✔ | ✔ | ✔ | ✔ |
109109
| Install/uninstall packages | ✔ | ✔ (1) | ✔ | ✔ | ✔ |
110110
| Update packages | ✔ | ✔ | | ✔ | ✔ |
111111
| Restore packages | ✔ | ✔ | ✔ (2) | ✔ | ✔ |
112-
| Manage package feeds (sources) | | ✔ | ✔ | ✔ | ✔ |
112+
| Manage package feeds (sources) | ✔ | ✔ | ✔ | ✔ | ✔ |
113113
| Manage packages on a feed | ✔ | ✔ | ✔ | | |
114114
| Set API keys for feeds | | ✔ | ✔ | | |
115115
| Create packages (3) | ✔ | ✔ | ✔ (4) | ✔ | |
116116
| Publish packages | ✔ | ✔ | ✔ | ✔ | |
117117
| Replicate packages | | ✔ | ✔ | | |
118118
| Manage *global-package* and cache folders | ✔ | ✔ | ✔ | | |
119-
| Manage NuGet configuration | | ✔ | ✔ | | |
119+
| Manage NuGet configuration | ✔ | ✔ | ✔ | | |
120120

121121
**Feature notes**
122122

docs/nuget-org/nuget-org-faq.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ sections:
8686
> [!Note]
8787
> These environment variables are available since [.NET CLI](https://learn.microsoft.com/nuget/reference/dotnet-commands) (.NET SDK) 6.0.100, [NuGet CLI](https://learn.microsoft.com/nuget/reference/nuget-exe-cli-reference) 6.0, Visual Studio 2022 version 17.0 and corresponding MSBuild version. See [NuGet Release Notes](https://learn.microsoft.com/nuget/release-notes/).
8888
89+
> [!Important]
90+
> NuGet.org recommends Alpine Linux users to upgrade to Alpine Linux 3.18.0 or newer. These versions support TCP fallback in the DNS resolver. If you use older versions of Alpine Linux that only support DNS over UDP, you may encounter DNS failures when accessing the [V3 API](https://learn.microsoft.com/nuget/nuget-org/overview-nuget-org#api-endpoint-for-nugetorg).
91+
8992
If that version of NuGet client continues to fail, [contact support](https://www.nuget.org/policies/Contact) and provide additional connection troubleshooting information including:
9093
9194
- The package sources you're using

docs/nuget-org/organizations-on-nuget-org.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ You can delete an organization account by clicking the **Delete** button shown i
101101

102102
![Deleting an organization](media/org-delete-option.png)
103103

104-
To delete the organizaiton, you must confirm it by clicking the **Delete organization** confirmation button.
104+
To delete the organization, you must confirm it by clicking the **Delete organization** confirmation button.

docs/reference/errors-and-warnings/NU1105.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The project file exists but no restore information was provided for it. Ensure y
2323

2424
From the command line this could mean that the file is corrupt or that the `NuGet.targets` are not imported.
2525
To import the `NuGet.targets`, usually it's recommended to import the `Microsoft.Common.targets`.
26-
To restore projects in solution using [.NET Core CLI](../../consume-packages/install-use-packages-dotnet-cli.md) use:
26+
To restore projects in solution using [.NET CLI](../../consume-packages/install-use-packages-dotnet-cli.md) use:
2727
```dotnetcli
2828
dotnet restore MySolution.sln
2929
```

docs/release-notes/Known-Issues.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Known Issues
33
description: Known issues with NuGet including authentication, package installation, and tools.
44
author: JonDouglas
55
ms.author: jodou
6-
ms.date: 11/11/2016
6+
ms.date: 06/06/2024
77
ms.topic: conceptual
88
---
99

@@ -14,6 +14,25 @@ These are the most common known issues with NuGet that are repeatedly reported.
1414
> [!Note]
1515
> Starting with NuGet 4.0, known issues are a part of the respective release notes.
1616
17+
## NuGet Audit settings may not be applied correctly for projects using packages.config in Visual Studio 17.10
18+
19+
NuGet Audit support was added for packages.config projects starting from NuGet 6.10 and Visual Studio 17.10.
20+
Information on how to configure NuGet Audit can be found in our docs on [our docs on auditing packages](../concepts/Auditing-Packages.md).
21+
22+
**Problem:**
23+
24+
If two or more projects using packages.config in the solution use the same project name, then NuGet Audit will choose one and use the same NuGet Audit settings for both projects.
25+
26+
The tracking issue to remove this limitation is [available on GitHub](https://github.com/NuGet/Home/issues/13466).
27+
28+
**Workaround:**
29+
30+
If all projects with the same name use the same configuration values, then there will be no functional difference when NuGet restores one project using a different project's configuration.
31+
32+
NuGet.exe does not have this limitation, so you can [download NuGet.exe](../install-nuget-client-tools.md#nugetexe-cli) and run `NuGet.exe restore` on your solution to see if the NuGet Audit warnings are different on the command line to what Visual Studio is reporting.
33+
34+
If it is feasible to rename the projects so they have different project names, then this problem scenario will not be encountered.
35+
1736
## Authentication issues with NuGet feeds in VSTS with nuget.exe v3.4.3
1837

1938
**Problem:**

docs/release-notes/NuGet-6.10.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ NuGet distribution vehicles:
2828

2929
* dotnet list package --vulnerable requires constant login to 3rd party nuget feed - [#12456](https://github.com/NuGet/Home/issues/12456)
3030

31+
### 6.10.0 Known issues
32+
33+
NuGet.exe 6.10.0 and Visual Studio 17.10.0 may have failures during NuGet operations for projects using packages.config under the following scenarios:
34+
35+
* Two or more projects in the solution have the same name
36+
* Two or more projects in the solution use the same packages.config file (the project files exist in the same directory)
37+
38+
These issues have been fixed in NuGet.exe 6.10.1 and Visual Studio 17.10.2.
39+
40+
Public tracking issues and discussions can be found in the following locations:
41+
42+
* [Cannot nuget restore after updating visual studio community to 17.10.0. An item with the same key has already been added.](https://developercommunity.visualstudio.com/t/Cannot-nuget-restore-after-updating-visu/10665602)
43+
* [Visual Studio and PMC restore/update fails when multiple packages.config projects in the solution share the same name (An item with the same key has already been added)](https://github.com/NuGet/Home/issues/13465)
44+
* [##[error]The nuget command failed with exit code(1) and error(An item with the same key has already been added.](https://github.com/NuGet/Home/issues/13456)
45+
3146
### Breaking changes
3247

3348
* Add nullable annotations to NuGet.Configuration - [#13250](https://github.com/NuGet/Home/issues/13250)

0 commit comments

Comments
 (0)