Skip to content

Commit a4a3b2e

Browse files
author
Kraig Brockschmidt
authored
Merge pull request NuGet#666 from NuGet/live
Sync master with live
2 parents a11b79d + ce462fd commit a4a3b2e

File tree

6 files changed

+13
-20
lines changed

6 files changed

+13
-20
lines changed

docs/Consume-Packages/Configuring-NuGet-Behavior.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ In this topic:
3232
- [How settings are applied](#how-settings-are-applied)
3333
- [NuGetDefaults.Config file](#nuget-defaults-file)
3434

35-
## Config file locations and uses
35+
## NuGet.Config file locations and uses
3636

3737
| Scope | NuGet.Config file location | Description |
3838
| --- | --- | --- |
39-
| Project | Project folder or any folder up to the drive root | In a project folder, settings apply only to that project. In parent folders that contain multiple projects subfolders, settings apply to all projects in those subfolders. |
40-
| User | Windows: %APPDATA%\NuGet\NuGet.Config<br/>Mac/Linux: ~/.nuget/NuGet.Config | Settings apply to all operations, but are overridden by any project-level settings. When using CLI commands, you can specify a different config file using the `-configFile` switch to ignore any settings in the default user-level file. |
39+
| Project | Current folder (aka Project folder) or any folder up to the drive root.| In a project folder, settings apply only to that project. In parent folders that contain multiple projects subfolders, settings apply to all projects in those subfolders. |
40+
| User | Windows: %APPDATA%\NuGet\NuGet.Config<br/>Mac/Linux: ~/.nuget/NuGet.Config | Settings apply to all operations, but are overridden by any project-level settings. |
4141
| Computer | Windows: %ProgramFiles(x86)%\NuGet\Config<br/>Mac/Linux: $XDG_DATA_HOME (typically ~/.local/share) | Settings apply to all operations on the computer, but are overriden by any user- or project-level settings. |
4242

4343
Notes for earlier versions of NuGet:
4444
- NuGet 3.3 and earlier used a `.nuget` folder for solution-wide settings. This file not used in NuGet 3.4+.
45-
- For NuGet 2.6 to 3.x, the computer-level config file on Windows was located in %ProgramData%\NuGet\Config[\\{IDE}[\\{Version}[\\{SKU}]]]\NuGet.Config, where *{IDE}* can be *VisualStudio*, *{Version}* was the Visual Studio version such as *14.0*, and *{SKU}* is either *Community*, *Pro*, or *Enterprise*. To migrate settings to NuGet 4.0+, simply copy the config file to %ProgramFiles(x86)%\NuGet\Config. On Linus, this previous location was /etc/opt, and on Mac, /Library/Application Support.
45+
- For NuGet 2.6 to 3.x, the computer-level config file on Windows was located in %ProgramData%\NuGet\Config[\\{IDE}[\\{Version}[\\{SKU}]]]\NuGet.Config, where *{IDE}* can be *VisualStudio*, *{Version}* was the Visual Studio version such as *14.0*, and *{SKU}* is either *Community*, *Pro*, or *Enterprise*. To migrate settings to NuGet 4.0+, simply copy the config file to %ProgramFiles(x86)%\NuGet\Config. On Linux, this previous location was /etc/opt, and on Mac, /Library/Application Support.
4646

4747
## Changing config settings
4848

docs/Quickstart/Create-and-Publish-a-Package.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ Once you have a `.nupkg` file, you publish it to nuget.org using the `push` comm
121121
122122
1. Once logged in, select your user name (on the upper right), then select **API Keys**.
123123
124-
1. Select **Create**, provide a name for your key, select **Select Scopes > Push**Under **API Key**, enter * for **Glob pattern**, then select **Create**.
124+
1. Select **Create**, provide a name for your key, select **Select Scopes > Push** under **API Key**, enter * for **Glob pattern**, then select **Create**.
125125
126126
1. Once the key is created, select **Copy** to retrieve the access key you'll need in the CLI:
127127
128128
![Copying the API key to the clipboard](media/QS_Create-02-APIKey.png)
129129
130130
> [!Warning]
131-
> Save your key in a secure location and keep is a secret. If your key is accidentally revealed, you can always regenerate it at any time. You can also remove the API key if you no longer want to push packages via the CLI.
131+
> Save your key in a secure location and keep it secret. If your key is accidentally revealed, you can regenerate it at any time. You can also remove the API key if you no longer want to push packages via the CLI.
132132
133133
1. At a command prompt, run the following command, specifying your package name and replacing the key with the value copied in step 4:
134134

docs/Quickstart/Use-a-Package.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ NuGet packages are units of reusable code that other developers make available t
2323

2424
Once installed, refer to the package in code with `using <namespace>` where \<namespace\> is specific to the package you're using. Once the reference is made, you can call the package through its API.
2525

26-
The remainder of this topic walks through the process of using the Package Manager UI to install the popular [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) package in a Universal Windows Platform (UWP) project. It then shows an example of using the package. You use a similar same workflow for virtually every NuGet package you use in a project.
26+
The remainder of this topic walks through the process of using the Package Manager UI to install the popular [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) package in a Universal Windows Platform (UWP) project. It then shows an example of using the package. You use a similar workflow for other NuGet packages.
2727

2828
- [Install pre-requisites](#install-pre-requisites)
2929
- [Create a project](#create-a-project)
3030
- [Add the Newtonsoft.Json NuGet package](#add-the-newtonsoftjson-nuget-package)
3131
- [Use the Newtonsoft.Json API in the app](#use-the-newtonsoftjson-api-in-the-app)
3232

3333
> [!Tip]
34-
> **Start with nuget.org**: Installing packages from nuget.org is a common workflow that .NET developers use to find components they can reuse in their own applications. You can always search nuget.org directly or find and install packages within Visual Studio as shown in this topic.
34+
> **Start with nuget.org**: Installing packages from nuget.org is a common workflow that .NET developers use to find components they can use in their own applications. You can always search nuget.org directly or find and install packages within Visual Studio as shown in this topic.
3535
3636
## Install pre-requisites
3737

docs/Reference/Errors-and-Warnings.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The errors and warnings listed here are available only with [PackageReference-ba
131131
| **Common causes** | Packages contain dependency on exact versions of a package instead of open-ended ranges. |
132132
| **Example message** | *Unable to satisfy conflicting requests for {id}: {conflict path} Framework: {target graph}* |
133133

134-
<a name="NU1107></a>
134+
<a name="NU1107"></a>
135135

136136
### NU1107 (Previously NU1607)
137137

@@ -141,7 +141,7 @@ The errors and warnings listed here are available only with [PackageReference-ba
141141
| **Common causes** | Packages with dependency constraints on exact versions do not allow other packages to increase the version if needed. |
142142
| **Example message** | *Version conflict detected for NuGet.Versioning. Reference the package directly from the project to resolve this issue.<br/> NuGet.Packaging 3.5.0 -> NuGet.Versioning (= 3.5.0)<br/> NuGet.Configuration 4.0.0 -> NuGet.Versioning (= 4.0.0)* |
143143

144-
<a name="NU1108></a>
144+
<a name="NU1108"></a>
145145

146146
### NU1108 (Previously NU1606)
147147

@@ -261,8 +261,6 @@ The errors and warnings listed here are available only with [PackageReference-ba
261261

262262
## Resolver conflict warnings
263263

264-
[NU1608](#nu1608)
265-
266264
### NU1608
267265

268266
| | |
@@ -273,8 +271,6 @@ The errors and warnings listed here are available only with [PackageReference-ba
273271

274272
## Package fallback warnings
275273

276-
[NU1701](#nu1701)
277-
278274
### NU1701
279275

280276
| | |
@@ -285,8 +281,6 @@ The errors and warnings listed here are available only with [PackageReference-ba
285281

286282
## Feed warnings
287283

288-
[NU1801](#nu1801)
289-
290284
### NU1801
291285

292286
| | |

docs/Release-Notes/NuGet-4.0-RTM.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ There is no workaround at this time.
6060
#### Issue:
6161
NuGet Package Manager does not display and does not allow add/update of DotNetCLITools. [NuGet#4256](https://github.com/NuGet/Home/issues/4256)
6262

63-
* #### Workaround:
63+
#### Workaround:
6464
DotNetCLIToolReferences must be manually edited in your project file.
6565

6666
### NuGet restore will fail when you set PackageId property for projects
@@ -374,4 +374,3 @@ There is no workaround at this time.
374374
[Issues list 3](https://github.com/NuGet/Home/issues?q=is%3Aissue+is%3Aclosed+milestone%3A%224.0 RC3")
375375
[Issues list 4](https://github.com/NuGet/Home/issues?q=is%3Aissue+is%3Aclosed+milestone%3A%224.0 RC2")
376376
[Issues list 5](https://github.com/NuGet/Home/issues?q=is%3Aissue+is%3Aclosed+milestone%3A%224.0 RC")
377-

docs/includes/install-methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Installing a package happens in three ways:
1+
You can install a NuGet package in three different ways:
22

33
| Method | Description | Reference |
44
| --- | --- | --- |
55
| nuget.exe CLI: `nuget install <package_name>` | Downloads the package identified by \<package_name\> and expands its contents into a folder in the current directory. If no packages are specified, installs all packages listed in the project's `packages.config` file. No changes are made to any project files. Dependencies are also downloaded and expanded. | [CLI reference](../tools/nuget-exe-CLI-Reference.md) |
66
| Package Manager Console (Visual Studio): `Install-Package <package_name>` | Downloads and installs the package into the current project, then update the project file to list the package as a dependency. | [Package Manager Console Guide](../tools/Package-Manager-Console.md) |
7-
| Package Manager UI (Visual Studio) | Provides a UI through which you can browse, select, and install packages into a project. Updates the project file to list the package as a dependency. | [Package Manager UI Reference](../tools/Package-Manager-UI.md) |
7+
| Package Manager UI (Visual Studio) | Provides a UI through which you can browse, select, and install packages into a project. Updates the project file to list the package as a dependency. | [Package Manager UI Reference](../tools/Package-Manager-UI.md) |

0 commit comments

Comments
 (0)