|
9 | 9 | "version": { |
10 | 10 | "Major": 0, |
11 | 11 | "Minor": 2, |
12 | | - "Patch": 15 |
| 12 | + "Patch": 16 |
13 | 13 | }, |
14 | 14 | "minimumAgentVersion": "1.83.0", |
15 | 15 | "groups": [ |
|
79 | 79 | "Normal": "Normal", |
80 | 80 | "Detailed": "Detailed" |
81 | 81 | } |
| 82 | + }, |
| 83 | + { |
| 84 | + "name": "nuGetVersion", |
| 85 | + "type": "radio", |
| 86 | + "label": "NuGet Version", |
| 87 | + "defaultValue": "3.3.0", |
| 88 | + "helpMarkDown": "The version of NuGet to use, or external verson.", |
| 89 | + "required": "true", |
| 90 | + "groupName": "advanced", |
| 91 | + "options": { |
| 92 | + "3.3.0": "3.3.0", |
| 93 | + "3.5.0.1829": "3.5.0 – build 1829 (rc2)", |
| 94 | + "custom" : "Custom" |
| 95 | + } |
82 | 96 | }, |
83 | 97 | { |
84 | 98 | "name": "nuGetPath", |
85 | 99 | "type": "string", |
86 | 100 | "label": "Path to NuGet.exe", |
87 | 101 | "defaultValue": "", |
88 | 102 | "required": false, |
89 | | - "helpMarkDown": "Optionally supply the path to NuGet.exe", |
| 103 | + "helpMarkDown": "Optionally supply the path to NuGet.exe. Will override version selection.", |
90 | 104 | "groupName": "advanced" |
91 | | - }, |
92 | | - { |
93 | | - "name": "preCredProviderNuGet", |
94 | | - "type": "boolean", |
95 | | - "label": "Path to NuGet.exe is below version 3.2", |
96 | | - "groupName": "advanced", |
97 | | - "defaultValue": "false", |
98 | | - "helpMarkDown": "If you are supplying a path to nuget.exe and it is older than NuGet 3.2, check this box and fill in a 'Path to NuGet.config' above. Has no effect if 'Path to NuGet.exe' is not specified.", |
99 | | - "required": "false" |
100 | | - } |
| 105 | + } |
101 | 106 | ], |
102 | 107 | "execution": { |
103 | 108 | "Node": { |
|
108 | 113 | "messages": { |
109 | 114 | "Warning_NoConfigForOldNuGet": "To connect to NuGet feeds hosted in your Team Services account/TFS project collection with NuGet 3.1 or below, edit your build definition to specify a path to a NuGet.config containing the package sources you wish to use.", |
110 | 115 | "Warning_NoConfigForNoCredentialProvider": "To connect to NuGet feeds hosted in your Team Services account/TFS project collection on this build agent, edit your build definition to specify a path to a NuGet.config containing the package sources you wish to use.", |
| 116 | + "Warning_ConflictingNuGetPreference" : "NuGet 3.3 was selected, but a custom NuGet path was provided. The custom path will be preferred. To resolve this warning, edit your build task and select 'custom' for NuGet version under Advanced.", |
111 | 117 | "PackagesInstalledSuccessfully": "Packages were installed successfully", |
112 | 118 | "PackagesFailedToInstall": "Packages failed to install", |
113 | 119 | "ConnectingAs": "Connecting to feeds in your Team Services account/TFS project collection as '%s' [%s]", |
|
116 | 122 | "NotARegularFile": "%s i not a solution file. Check the 'path to solution or packages.config' property of the NuGetInstaller task.", |
117 | 123 | "UnknownRestoreMode": "Unknown restore mode '%s'", |
118 | 124 | "CouldNotFindNuGetService": "Could not find the NuGet service. This task will be unable to authenticate to feeds hosted in your Team Services account/TFS project collection.", |
| 125 | + "NoNuGetSpecified" : "If 'custom' is selected, you must provide a path to NuGet.exe", |
119 | 126 |
|
120 | 127 | "NGCommon_DetectedNuGetVersion": "Detected NuGet version %s / %s", |
121 | 128 | "NGCommon_IgnoringNuGetExtensionsPath": "Detected NuGet extensions loader path (NUGET_EXTENSIONS_PATH environment variable). Extensions are ignored when using the built-in NuGet client", |
|
127 | 134 | "NGCommon_NuGetConfigIsInvalid": "The NuGet.config at %s is invalid.", |
128 | 135 | "NGCommon_RemovingSources": "Preparing to set credentials in NuGet.config", |
129 | 136 | "NGCommon_AddingSources": "Setting credentials in NuGet.config", |
130 | | - "NGCommon_NoSourcesFoundInConfig": "No package sources were found in the NuGet.config file at %s" |
| 137 | + "NGCommon_NoSourcesFoundInConfig": "No package sources were found in the NuGet.config file at %s", |
| 138 | + "NGCommon_UnabletoDetectNuGetVersion" : "Unknown NuGet version selected." |
131 | 139 |
|
132 | 140 | } |
133 | 141 | } |
0 commit comments