Skip to content

Commit d576d84

Browse files
author
Kraig Brockschmidt
authored
Merge pull request NuGet#655 from NuGet/master
Publish to live
2 parents b1f1dad + 03d7348 commit d576d84

File tree

5 files changed

+53
-48
lines changed

5 files changed

+53
-48
lines changed

docs/Policies/NuGet-FAQ.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: NuGet Frequently-Asked Questions | Microsoft Docs
33
author: kraigb
44
ms.author: kraigb
55
manager: ghogen
6-
ms.date: 12/07/2017
6+
ms.date: 01/11/2018
77
ms.topic: article
88
ms.prod: nuget
99
ms.technology: null
@@ -89,6 +89,10 @@ Yes, NuGet works directly from the command line. See the [Install guide](../guid
8989

9090
See the [Install guide](../guides/install-nuget.md).
9191

92+
**What is the license for nuget.exe?**
93+
94+
You are allowed to redistribute nuget.exe under the terms of the MIT license. You are responsible for updating and servicing any copies of nuget.exe that you choose to redistribute.
95+
9296
**Is it possible to extend the NuGet command line tool?**
9397

9498
Yes, it's possible to add custom commands to `nuget.exe`, as described in [Rob Reynold's post](http://geekswithblogs.net/robz/archive/2011/07/15/extend-nuget-command-line.aspx).
@@ -170,7 +174,6 @@ Each package is governed by the terms that are included with the package. You sh
170174

171175
If a package does not specify the licensing terms, contact the package owner directly using the **Contact owners** link on the nuget.org package page. Microsoft does not license any intellectual property to you from third party package providers and is not responsible for information provided by third parties.
172176

173-
174177
## Managing packages on nuget.org
175178

176179
**Can I edit package metadata after it's been uploaded? Why do you require editing the nuspec and uploading a new package for making changes to package metadata?**

docs/Schema/nuspec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ These elements may appear within a `<metadata>` element.
105105

106106
| Element | Description |
107107
| --- | --- |
108-
**packageTypes** | *(3.3+)* A collection of zero or more `<packageType>` elements specifying the type of the package if other than a traditional dependency package. Each packageType has attributes of *name* and *version*. See [Setting a package type](../create-packages/creating-a-package.md#setting-a-package-type). |
108+
**packageTypes** | *(3.5+)* A collection of zero or more `<packageType>` elements specifying the type of the package if other than a traditional dependency package. Each packageType has attributes of *name* and *version*. See [Setting a package type](../create-packages/creating-a-package.md#setting-a-package-type). |
109109
| **dependencies** | A collection of zero or more `<dependency>` elements specifying the dependencies for the package. Each dependency has attributes of *id*, *version*, *include* (3.x+), and *exclude* (3.x+). See [Dependencies](#dependencies) below. |
110110
| **frameworkAssemblies** | *(1.2+)* A collection of zero or more `<frameworkAssembly>` elements identifying .NET Framework assembly references that this package requires, which ensures that references are added to projects consuming the package. Each frameworkAssembly has *assemblyName* and *targetFramework* attributes. See [Specifying framework assembly references GAC](#specifying-framework-assembly-references-gac) below. |
111111
| **references** | *(1.5+)* A collection of zero or more `<reference>` elements naming assemblies in the package's `lib` folder that are added as project references. Each reference has a *file* attribute. `<references>` can also contain a `<group>` element with a *targetFramework* attribute, that then contains `<reference>` elements. If omitted, all references in `lib` are included. See [Specifying explicit assembly references](#specifying-explicit-assembly-references) below. |

docs/TOC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
## [Create UWP Packages](Guides/Create-UWP-Packages.md)
1010
## [Creating UWP Controls as NuGet Packages](Guides/Create-UWP-Controls.md)
1111
## [Create Cross-Platform Packages](Guides/Create-Cross-Platform-Packages.md)
12-
## [Query for all packages using the API](Guides/api/query-for-all-published-packages.md)
1312
# Create Packages
1413
## [Overview and Workflow](Create-Packages/Overview-and-Workflow.md)
1514
## [Creating a Package](Create-Packages/Creating-a-Package.md)
@@ -86,6 +85,7 @@
8685
### [nuget.exe Credential Providers](Reference/extensibility/nuget-exe-Credential-Providers.md)
8786
# API
8887
## [Overview](API/overview.md)
88+
## [How-to: query for all packages using the API](Guides/api/query-for-all-published-packages.md)
8989
## [Service Index](API/service-index.md)
9090
## [Push and Delete](API/package-publish-resource.md)
9191
## [Search](API/search-query-service-resource.md)

docs/Tools/cli-ref-pack.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ where `<nuspecPath>` and `<projectPath>` specify the `.nuspec` or project file,
3838
| --- | --- |
3939
| BasePath | Sets the base path of the files defined in the `.nuspec` file. |
4040
| Build | Specifies that the project should be built before building the package. |
41-
| Exclude | Specifies one or more wildcard patterns to exclude when creating a package. |
41+
| Exclude | Specifies one or more wildcard patterns to exclude when creating a package. To specify more than one pattern, repeat the -Exclude flag. See example below. |
4242
| ExcludeEmptyDirectories | Prevents inclusion of empty directories when building the package. |
4343
| ForceEnglishOutput | *(3.5+)* Forces nuget.exe to run using an invariant, English-based culture. |
4444
| Help | Displays help information for the command. |
@@ -96,4 +96,6 @@ nuget pack foo.csproj -Build -Symbols -Properties owners=janedoe,xiaop;version="
9696
nuget pack foo.nuspec -Version 2.1.0
9797
9898
nuget pack foo.nuspec -Version 1.0.0 -MinClientVersion 2.5
99+
100+
nuget pack Package.nuspec -exclude "*.exe" -exclude "*.bat"
99101
```

0 commit comments

Comments
 (0)