From 1f731980de6e473962fce2153067955748e154f2 Mon Sep 17 00:00:00 2001 From: Joey Robichaud Date: Tue, 10 Mar 2020 16:25:05 -0700 Subject: [PATCH] Update OmniSharp to 1.34.14 --- .vscode/launch.json | 4 +- CHANGELOG.md | 2 + README.md | 38 ++---------- package-lock.json | 2 +- package.json | 86 +++++++++++++------------- src/tools/UpdatePackageDependencies.ts | 2 +- 6 files changed, 54 insertions(+), 80 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index a72708a2a0..8932f8d8d8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -138,8 +138,8 @@ "updatePackageDependencies" ], "env": { - "NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/0dbfeeaff92f544c022dc7406b3ac2e8/omnisharp-linux-x64-1.34.13.zip,https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/f8aa092d3c2b81ebbcd065c79fc3d7ac/omnisharp-linux-x86-1.34.13.zip,https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/fcda5b4d6b207245a2e76118d8b059c2/omnisharp-osx-1.34.13.zip,https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/b89bee247c303002d7b045d9787ffc1e/omnisharp-win-x64-1.34.13.zip,https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/63e562d25165bd940995465124a5e0d1/omnisharp-win-x86-1.34.13.zip", - "NEW_DEPS_VERSION": "1.34.13" + "NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/cf8b4f8fb15c5ee83df1661b57c27cf5/omnisharp-linux-x64-1.34.14.zip,https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/c817f764b125ba8707bb432190076369/omnisharp-linux-x86-1.34.14.zip,https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/df88496e278305a692e136ba611953df/omnisharp-osx-1.34.14.zip,https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/7eb8824895cbdb38af0355380389bcbf/omnisharp-win-x64-1.34.14.zip,https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/d3b776c130c38812c0fd383720a5e318/omnisharp-win-x86-1.34.14.zip", + "NEW_DEPS_VERSION": "1.34.14" }, "cwd": "${workspaceFolder}" } diff --git a/CHANGELOG.md b/CHANGELOG.md index b532c34682..505d44723e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ ## 1.21.14 (Not Yet Released) * Fixed an issue where Razor formatting fails in the presence of @using directives +* Added support for `annotations` value of `Nullable` csproj property ([omnisharp-roslyn/#1721](https://github.com/OmniSharp/omnisharp-roslyn/issues/1721), PR: [omnisharp-roslyn/#1722](https://github.com/OmniSharp/omnisharp-roslyn/pull/1722)) +* Added ability to specify custom RunSettings for tests (PR: [#3573](https://github.com/OmniSharp/omnisharp-vscode/pull/3573), PR: [omnisharp-roslyn/#1710](https://github.com/OmniSharp/omnisharp-roslyn/pull/1710)) ## 1.21.13 (March 5, 2020) * Change Marketplace publisher for the C# extension from ms-vscode to ms-dotnettools diff --git a/README.md b/README.md index d1c9e53478..e0fd281fc7 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,11 @@ The C# extension is powered by [OmniSharp](https://github.com/OmniSharp/omnishar * [Documentation](https://code.visualstudio.com/docs/languages/csharp) * [Video Tutorial compiling with .NET Core](https://channel9.msdn.com/Blogs/dotnet/Get-started-VSCode-Csharp-NET-Core-Windows) +## What's new in 1.21.14 +* Fixed an issue where Razor formatting fails in the presence of @using directives +* Added support for `annotations` value of `Nullable` csproj property ([omnisharp-roslyn/#1721](https://github.com/OmniSharp/omnisharp-roslyn/issues/1721), PR: [omnisharp-roslyn/#1722](https://github.com/OmniSharp/omnisharp-roslyn/pull/1722)) +* Added ability to specify custom RunSettings for tests (PR: [#3573](https://github.com/OmniSharp/omnisharp-vscode/pull/3573), PR: [omnisharp-roslyn/#1710](https://github.com/OmniSharp/omnisharp-roslyn/pull/1710)) + ## What's new in 1.21.13 * Change Marketplace publisher for the C# extension from ms-vscode to ms-dotnettools * Ignore diagnostics from virtual files ([aspnetcore/#18927](https://github.com/dotnet/aspnetcore/issues/18927), PR: [#3592](https://github.com/OmniSharp/omnisharp-vscode/pull/3592)) @@ -41,39 +46,6 @@ The C# extension is powered by [OmniSharp](https://github.com/OmniSharp/omnishar * Added option (`csharp.supressBuildAssetsNotification`) to surpress missing build asset notifications (PR:[#3538](https://github.com/OmniSharp/omnisharp-vscode/pull/3538)) * The minimum Mono version required to run OmniSharp on has been increased to 6.4.0 -## What's new in 1.21.10 -* Updated Razor support (PR:[#3524](https://github.com/OmniSharp/omnisharp-vscode/pull/3524)) - * Added quick info (hover) support for TagHelper and Blazor components. You can now hover over TagHelpers, Components and their attributes to understand what associated C# type you're hovering over in addition to an attributes expected value type. - * Migrated Razor's project understanding from the VSCode extension into the Language Server. This enables the language server to reboot without extra assistance (reliability) from an LSP client and also enables future Razor LSP clients to have richer functionality with less "work". - * Added C# light bulbs to enable users to "Fully Qualify" members that are causing errors. - * Expanded Razor's TextMate grammar colorization support to understand email addresses and `await foreach`. - * Several bug fixes -* Updated Debugger support (PR:[#3515](https://github.com/OmniSharp/omnisharp-vscode/pull/3515)) - * Added option to search the NuGet.org Symbol Server - * Added options to control logging Process and Thread exits while debugging -* Fixed a bug where completion items didn't decode symbols corectly (impacted, for example, object initializer completion quality) ([#3465](https://github.com/OmniSharp/omnisharp-vscode/issues/3465), PR:[omnisharp-roslyn/#1670](https://github.com/OmniSharp/omnisharp-roslyn/pull/1670)) -* Updated to MsBuild 16.4.0 on Linux/MacOS (PR:[omnisharp-roslyn/#1669](https://github.com/OmniSharp/omnisharp-roslyn/pull/1669)) -* Added support for implement type options - it is now possible to define whether code-fix/refactoring generated properties should be auto- or throwing-properties and at which place in the class should newly generated members be inserted. They can be set via OmniSharp configuration, such as `omnisharp.json` file. (PR: [omnisharp-roslyn/#1672](https://github.com/OmniSharp/omnisharp-roslyn/pull/1672)) -* Added support for organizing usings on format. This can be set via OmniSharp configuration, such as `omnisharp.json` file. (PR:[omnisharp-roslyn/#1686](https://github.com/OmniSharp/omnisharp-roslyn/pull/1686)) -* Improved support for .NET Core 3.1 - -## What's new in 1.21.9 -* Use the base filename instead of 'ClassName' in ctor snippet (PR:[#3385](https://github.com/OmniSharp/omnisharp-vscode/pull/3385)) -* Added command to re-run code analysis on single project or all projects (PR:[#3089](https://github.com/OmniSharp/omnisharp-vscode/pull/3089)) -* Updated Razor support (PR:[#3445](https://github.com/OmniSharp/omnisharp-vscode/pull/3445)) - * Rename support - * Go to definition support - * Go to implementation support - * Find all references support - * CodeLens support - * Several mainline bug fixes -* Updated Razor grammar for better colorization (PR:[#3448](https://github.com/OmniSharp/omnisharp-vscode/pull/3448)) -* Updated to MsBuild 16.4.0 (PR:[omnisharp-roslyn/#1662](https://github.com/OmniSharp/omnisharp-roslyn/pull/1662)) -* Line pragma is now respected in find references ([omnisharp-roslyn/#1649](https://github.com/OmniSharp/omnisharp-roslyn/issues/1649), PR:[omnisharp-roslyn/#1660](https://github.com/OmniSharp/omnisharp-roslyn/pull/1660)) -* Do not set mono paths when running in standalone mode ([omnisharp-vscode#3410](https://github.com/OmniSharp/omnisharp-vscode/issues/3410), [omnisharp-vscode#3340](https://github.com/OmniSharp/omnisharp-vscode/issues/3340), [omnisharp-roslyn/#1650](https://github.com/OmniSharp/omnisharp-roslyn/issues/1650), PR:[omnisharp-roslyn/#1656](https://github.com/OmniSharp/omnisharp-roslyn/pull/1656)) -* Fixed a bug where OmniSharp would crash on startup if the path contained `=` sign ([omnisharp-vscode#3436](https://github.com/OmniSharp/omnisharp-vscode/issues/3436), PR:[omnisharp-roslyn/#1661](https://github.com/OmniSharp/omnisharp-roslyn/pull/1661)) -* Improved support for .NET Core 3.1 - ### Supported Operating Systems for Debugging * Currently, the C# debugger officially supports the following operating systems: diff --git a/package-lock.json b/package-lock.json index c151e7aa14..7a4e6fd9b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "csharp", - "version": "1.21.13", + "version": "1.21.14", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index adf27947ef..ebd77a0481 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "csharp", "publisher": "ms-dotnettools", - "version": "1.21.13", + "version": "1.21.14", "description": "C# for Visual Studio Code (powered by OmniSharp).", "displayName": "C#", "author": "Microsoft Corporation", @@ -29,7 +29,7 @@ "dotnet" ], "defaults": { - "omniSharp": "1.34.13", + "omniSharp": "1.34.14", "razor": "1.0.0-alpha3-5.0.0-preview.2.20156.4" }, "main": "./dist/extension", @@ -159,41 +159,41 @@ { "id": "OmniSharp", "description": "OmniSharp for Windows (.NET 4.6 / x86)", - "url": "https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/63e562d25165bd940995465124a5e0d1/omnisharp-win-x86-1.34.13.zip", - "fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x86-1.34.13.zip", - "installPath": ".omnisharp/1.34.13", + "url": "https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/d3b776c130c38812c0fd383720a5e318/omnisharp-win-x86-1.34.14.zip", + "fallbackUrl": "https://roslynomnisharp.blob.core.windows.net/releases/1.34.14/omnisharp-win-x86-1.34.14.zip", + "installPath": ".omnisharp/1.34.14", "platforms": [ "win32" ], "architectures": [ "x86" ], - "installTestPath": "./.omnisharp/1.34.13/OmniSharp.exe", + "installTestPath": "./.omnisharp/1.34.14/OmniSharp.exe", "platformId": "win-x86", - "integrity": "1E052090B2C1F6D42C20E3CA1318738C574D3D846401F0F9BB2B7F22617919C7" + "integrity": "85FBCF380988512654587C41A5105E4248369FC918A28203CEC8ED22C61392B8" }, { "id": "OmniSharp", "description": "OmniSharp for Windows (.NET 4.6 / x64)", - "url": "https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/b89bee247c303002d7b045d9787ffc1e/omnisharp-win-x64-1.34.13.zip", - "fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.34.13.zip", - "installPath": ".omnisharp/1.34.13", + "url": "https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/7eb8824895cbdb38af0355380389bcbf/omnisharp-win-x64-1.34.14.zip", + "fallbackUrl": "https://roslynomnisharp.blob.core.windows.net/releases/1.34.14/omnisharp-win-x64-1.34.14.zip", + "installPath": ".omnisharp/1.34.14", "platforms": [ "win32" ], "architectures": [ "x86_64" ], - "installTestPath": "./.omnisharp/1.34.13/OmniSharp.exe", + "installTestPath": "./.omnisharp/1.34.14/OmniSharp.exe", "platformId": "win-x64", - "integrity": "92FE3BE46064B8AA17CD714671A28779D1B720D58B45B89E35D1A0DE0898D1CD" + "integrity": "80A56F8F196ADC1B5985D4CC83F55A469D8E4A537F587CA8B2CC0FB889A12394" }, { "id": "OmniSharp", "description": "OmniSharp for OSX", - "url": "https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/fcda5b4d6b207245a2e76118d8b059c2/omnisharp-osx-1.34.13.zip", - "fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-osx-1.34.13.zip", - "installPath": ".omnisharp/1.34.13", + "url": "https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/df88496e278305a692e136ba611953df/omnisharp-osx-1.34.14.zip", + "fallbackUrl": "https://roslynomnisharp.blob.core.windows.net/releases/1.34.14/omnisharp-osx-1.34.14.zip", + "installPath": ".omnisharp/1.34.14", "platforms": [ "darwin" ], @@ -201,16 +201,16 @@ "./mono.osx", "./run" ], - "installTestPath": "./.omnisharp/1.34.13/run", + "installTestPath": "./.omnisharp/1.34.14/run", "platformId": "osx", - "integrity": "92F65C0F8F0A9748DF9878E41D2BA047D1073B27FE0C161129E1EC21DAEA1998" + "integrity": "7205424A09F1DE72FD67CC36C0170B2DD2994F861C9F5F61C7B52B17C27F9F60" }, { "id": "OmniSharp", "description": "OmniSharp for Linux (x86)", - "url": "https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/f8aa092d3c2b81ebbcd065c79fc3d7ac/omnisharp-linux-x86-1.34.13.zip", - "fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x86-1.34.13.zip", - "installPath": ".omnisharp/1.34.13", + "url": "https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/c817f764b125ba8707bb432190076369/omnisharp-linux-x86-1.34.14.zip", + "fallbackUrl": "https://roslynomnisharp.blob.core.windows.net/releases/1.34.14/omnisharp-linux-x86-1.34.14.zip", + "installPath": ".omnisharp/1.34.14", "platforms": [ "linux" ], @@ -222,16 +222,16 @@ "./mono.linux-x86", "./run" ], - "installTestPath": "./.omnisharp/1.34.13/run", + "installTestPath": "./.omnisharp/1.34.14/run", "platformId": "linux-x86", - "integrity": "47F0CEDE055AC3112E0B288FFDECEEFC46C258EE6E193DB931E191BD74FD4C2C" + "integrity": "6098A03F845BF7AB0C63C3B11B4A2F8610C6F35858430AF4C5479F3502709D95" }, { "id": "OmniSharp", "description": "OmniSharp for Linux (x64)", - "url": "https://download.visualstudio.microsoft.com/download/pr/e5c16d5c-a379-4ea6-afbe-cbedf90a0876/0dbfeeaff92f544c022dc7406b3ac2e8/omnisharp-linux-x64-1.34.13.zip", - "fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x64-1.34.13.zip", - "installPath": ".omnisharp/1.34.13", + "url": "https://download.visualstudio.microsoft.com/download/pr/10b0d22c-b2be-401e-bfee-bd3272f69cbd/cf8b4f8fb15c5ee83df1661b57c27cf5/omnisharp-linux-x64-1.34.14.zip", + "fallbackUrl": "https://roslynomnisharp.blob.core.windows.net/releases/1.34.14/omnisharp-linux-x64-1.34.14.zip", + "installPath": ".omnisharp/1.34.14", "platforms": [ "linux" ], @@ -242,9 +242,9 @@ "./mono.linux-x86_64", "./run" ], - "installTestPath": "./.omnisharp/1.34.13/run", + "installTestPath": "./.omnisharp/1.34.14/run", "platformId": "linux-x64", - "integrity": "96B16D8D029B07FCE4B212B50BBE65DDCBDC3B059AC1F5D72F6F893456DB74D3" + "integrity": "7168517684C77B1E242AB3F81BB40081D2484ECAF6FF03FF854FF1A1DA239EB4" }, { "id": "Debugger", @@ -498,17 +498,17 @@ "items": { "type": "string" }, - "description": "Array of symbol server URLs (example: http​://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", + "description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", "default": [] }, "searchMicrosoftSymbolServer": { "type": "boolean", - "description": "If 'true' the Microsoft Symbol server (https​://msdl.microsoft.com​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "searchNuGetOrgSymbolServer": { "type": "boolean", - "description": "If 'true' the NuGet.org symbol server (https​://symbols.nuget.org​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the NuGet.org symbol server (https\u200b://symbols.nuget.org\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "cachePath": { @@ -1390,17 +1390,17 @@ "items": { "type": "string" }, - "description": "Array of symbol server URLs (example: http​://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", + "description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", "default": [] }, "searchMicrosoftSymbolServer": { "type": "boolean", - "description": "If 'true' the Microsoft Symbol server (https​://msdl.microsoft.com​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "searchNuGetOrgSymbolServer": { "type": "boolean", - "description": "If 'true' the NuGet.org symbol server (https​://symbols.nuget.org​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the NuGet.org symbol server (https\u200b://symbols.nuget.org\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "cachePath": { @@ -1822,17 +1822,17 @@ "items": { "type": "string" }, - "description": "Array of symbol server URLs (example: http​://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", + "description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", "default": [] }, "searchMicrosoftSymbolServer": { "type": "boolean", - "description": "If 'true' the Microsoft Symbol server (https​://msdl.microsoft.com​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "searchNuGetOrgSymbolServer": { "type": "boolean", - "description": "If 'true' the NuGet.org symbol server (https​://symbols.nuget.org​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the NuGet.org symbol server (https\u200b://symbols.nuget.org\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "cachePath": { @@ -2496,17 +2496,17 @@ "items": { "type": "string" }, - "description": "Array of symbol server URLs (example: http​://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", + "description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", "default": [] }, "searchMicrosoftSymbolServer": { "type": "boolean", - "description": "If 'true' the Microsoft Symbol server (https​://msdl.microsoft.com​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "searchNuGetOrgSymbolServer": { "type": "boolean", - "description": "If 'true' the NuGet.org symbol server (https​://symbols.nuget.org​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the NuGet.org symbol server (https\u200b://symbols.nuget.org\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "cachePath": { @@ -2928,17 +2928,17 @@ "items": { "type": "string" }, - "description": "Array of symbol server URLs (example: http​://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", + "description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.", "default": [] }, "searchMicrosoftSymbolServer": { "type": "boolean", - "description": "If 'true' the Microsoft Symbol server (https​://msdl.microsoft.com​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "searchNuGetOrgSymbolServer": { "type": "boolean", - "description": "If 'true' the NuGet.org symbol server (https​://symbols.nuget.org​/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", + "description": "If 'true' the NuGet.org symbol server (https\u200b://symbols.nuget.org\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.", "default": false }, "cachePath": { @@ -3063,4 +3063,4 @@ ] } } -} +} \ No newline at end of file diff --git a/src/tools/UpdatePackageDependencies.ts b/src/tools/UpdatePackageDependencies.ts index c8d5f35488..d90292ed43 100644 --- a/src/tools/UpdatePackageDependencies.ts +++ b/src/tools/UpdatePackageDependencies.ts @@ -181,7 +181,7 @@ function verifyVersionSubstringCount(value: string, shouldContainVersion = false if (shouldContainVersion && matchCount == 0) { throw new Error(`Version number not found in '${value}'.`); } - if (matchCount > 1) { + if (matchCount > 2) { throw new Error(`Ambiguous version pattern found in '${value}'. Multiple version strings found.`); } }