Skip to content

Commit 107a207

Browse files
author
Kraig Brockschmidt
committed
Corrections, and improve nuspec minClientVersion ref
1 parent 2b1f4a0 commit 107a207

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/Consume-Packages/Dependency-Resolution.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ There are scenarios in which assemblies with the same name might be referenced m
145145

146146
To resolve this, you must directly reference the `C.dll` you want (or use another package that references the right one), and then add a dependency on packageC that excludes all its assets. This is done as follows:
147147

148-
* If you're project is using `packages.config` for tracking NuGet dependencies, simply remove the reference to packageC from the `.csproj` file so that it references only the version of `C.dll` that you want.
148+
- If you're project is using `packages.config` for tracking NuGet dependencies, simply remove the reference to packageC from the `.csproj` file so that it references only the version of `C.dll` that you want.
149149

150-
* If your project uses `project.json` for NuGet, add `"exclude" : "all"` in the dependency for packageC:
150+
- If your project uses `project.json` for NuGet, add `"exclude" : "all"` in the dependency for packageC:
151151

152152
```json
153153
{
@@ -158,9 +158,9 @@ To resolve this, you must directly reference the `C.dll` you want (or use anothe
158158
}
159159
}
160160
}
161-
'''
161+
```
162162

163-
* With [package references in project files](../consume-packages/package-references-in-project-files.md) (NuGet 4.0+ only), add `Exclude="All"` in the dependency:
163+
- With [package references in project files](../consume-packages/package-references-in-project-files.md) (NuGet 4.0+ only), add `Exclude="All"` in the dependency:
164164

165165
```xml
166166
<PackageReference Include="packageC" Version="1.0.0" Exclude="All" />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# required metadata
33

4-
title: Introductory Guide to Creating and Publishing a NuGet | Microsoft Docs
4+
title: Introductory Guide to Creating and Publishing a NuGet Package | Microsoft Docs
55
author: kraigb
66
ms.author: kraigb
77
manager: ghogen

docs/Schema/nuspec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Element | Description
103103
**language** | The locale ID for the package. See [Creating localized packages](../create-packages/creating-localized-packages.md).
104104
**tags** | A space-delimited list of tags and keywords that describe the package and aid discoverability of packages through search and filtering mechanisms.
105105
**serviceable** | *(3.3+)*For internal NuGet use only
106-
**minClientVersion** | *(2.5+)* Specifies the minimum version of the NuGet client that can install this package, enforced by nuget.exe and the Visual Studio Package Manager.
106+
**minClientVersion** | *(2.5+)* Specifies the minimum version of the NuGet client that can install this package, enforced by nuget.exe and the Visual Studio Package Manager. This is used whenever the package depends on specific features of the `.nuspec` file that were added in a particular version of the NuGet client. For example, a package using the `developmentDependency` attribute would specify "2.8" for `minClientVersion`. Similarly, a package using the `contentFiles` element (see the next section) would set `minClientVersion` to "3.3". Note also that because NuGet clients prior to 2.5 do not recognize this flag, they will *always* refuse to install the package no matter what value you use in `minClientVersion`.
107107

108108
#### Collection elements
109109

docs/TOC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
## [PowerShell Reference](Tools/PowerShell-Reference.md)
4343
## [dotnet Commands](Tools/dotnet-Commands.md)
4444
# Schema
45-
## .nuspec](Schema/nuspec.md)
45+
## [.nuspec](Schema/nuspec.md)
4646
## [project.json](Schema/project-json.md)
4747
## [MSBuild Targets](Schema/msbuild-targets.md)
4848
## [Nuget.Config file](Schema/nuget-config-file.md)

0 commit comments

Comments
 (0)