The `dotnet complete` command is an SDK command. If the SDK is not
installed, `dotnet complete` is not available. Triggering completion in
bash without the SDK installed results in errors being shown.
Fix it by checking the exit status of `dotnet complete` before trying to
use to for completions. If the SDK is not installed, we will only show
file completions.
Fixes#11044
* dotnet/release/2.2.2xx: (41 commits)
Fix helix queue machine affinity call
Update aspnet, aspnet, aspnet, aspnet, aspnet, aspnet, aspnet, aspnet, aspnet, coresetup, sdk, templating, templating, websdk to rtm-35537, rtm-35537, rtm-35537, rtm-35537, rtm-35537, rtm-35537, rtm-35537, rtm-35537, rtm-35537, 2.1.0, 2.2.100, beta4, beta4, 2.2.100, respectively
Fixing build failures by removing hard coded TFM versions.
Updating NuGet to 5.0.0-preview1.5495
Updating the Windows pool to a pool that supports net472. This will likely have to be force merged before the new pool gets picked up.
Updating some more projects due to MSbuild not having a target for netstandard2.0. Also, reacting to the msbuild versioning change to Current.
Additional framework changes for full framework due to MSBuild supported TFMs.
Updating roslyn and msbuild dependencies for dev16. Needed to move projects to netcoreapp2.2 as msbuild dropped support for netstandard2.0.
Adding explicit dependencies to NuGet and NewtonSoft.Json to update-dependencies project because they are not being brought transitivily through the VersionTools dependency.
Fixing the channel and branch name for 2.2.2xx
Updating the CLI branding to 2.1.600 for this branch.
Updating ASP.NET and M.NC.App runtimes version
Updating SDK to 2.2.200-preview-63508-04
Updating SDK to 2.2.100-preview3-63508-01
Insert NuGet Build 5.0.0-preview1.5663 into cli
Updating SDK 2.1.500-preview-63506-03
Updating runtime version to 2.1.6
Enabling crossgen for win-arm
Enabling building for win-arm.
Insert NuGet Build 4.9.0-rtm.5658 into cli
...
Conflicts:
README.md
TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj
build/BranchInfo.props
build/BuildDefaults.props
build/Compile.targets
build/CrossGen.props
build/DependencyVersions.props
build/MSBuildExtensions.targets
build/Test.targets
build/package/Installer.MSI.targets
build/package/Installer.PKG.targets
build/test/TestPackageProjects.targets
build_projects/dotnet-cli-build/CheckIfAllBuildsHavePublished.cs
build_projects/dotnet-cli-build/DotNetRestore.cs
build_projects/dotnet-cli-build/DownloadFile.cs
build_projects/update-dependencies/update-dependencies.csproj
run-build.ps1
run-build.sh
src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj
src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj
src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj
src/Microsoft.DotNet.MSBuildSdkResolver/Microsoft.DotNet.MSBuildSdkResolver.csproj
src/redist/redist.csproj
test/Microsoft.DotNet.TestFramework/Microsoft.DotNet.TestFramework.csproj