Refactor Hosting extensions #2450
Build and Test Windows Debug failed
Annotations
Check failure on line 11 in src\System.CommandLine.Hosting\HostApplicationBuilderAction.cs
azure-pipelines / command-line-api (Build and Test Windows Debug)
src\System.CommandLine.Hosting\HostApplicationBuilderAction.cs#L11
src\System.CommandLine.Hosting\HostApplicationBuilderAction.cs(11,66): error CS0649: (NETCORE_ENGINEERING_TELEMETRY=Build) Field 'HostApplicationBuilderAction._createHostBuilder' is never assigned to, and will always have its default value null
Check failure on line 32 in src\System.CommandLine.Hosting.Tests\HostingTests.cs
azure-pipelines / command-line-api (Build and Test Windows Debug)
src\System.CommandLine.Hosting.Tests\HostingTests.cs#L32
src\System.CommandLine.Hosting.Tests\HostingTests.cs(32,18): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CommandLineConfiguration' does not contain a definition for 'UseHost' and no accessible extension method 'UseHost' accepting a first argument of type 'CommandLineConfiguration' could be found (are you missing a using directive or an assembly reference?)
Check failure on line 45 in src\System.CommandLine.Hosting.Tests\HostingTests.cs
azure-pipelines / command-line-api (Build and Test Windows Debug)
src\System.CommandLine.Hosting.Tests\HostingTests.cs#L45
src\System.CommandLine.Hosting.Tests\HostingTests.cs(45,18): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CommandLineConfiguration' does not contain a definition for 'UseHost' and no accessible extension method 'UseHost' accepting a first argument of type 'CommandLineConfiguration' could be found (are you missing a using directive or an assembly reference?)
Check failure on line 72 in src\System.CommandLine.Hosting.Tests\HostingTests.cs
azure-pipelines / command-line-api (Build and Test Windows Debug)
src\System.CommandLine.Hosting.Tests\HostingTests.cs#L72
src\System.CommandLine.Hosting.Tests\HostingTests.cs(72,18): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CommandLineConfiguration' does not contain a definition for 'UseHost' and no accessible extension method 'UseHost' accepting a first argument of type 'CommandLineConfiguration' could be found (are you missing a using directive or an assembly reference?)
Check failure on line 19 in src\System.CommandLine.Hosting.Tests\HostingHandlerTest.cs
azure-pipelines / command-line-api (Build and Test Windows Debug)
src\System.CommandLine.Hosting.Tests\HostingHandlerTest.cs#L19
src\System.CommandLine.Hosting.Tests\HostingHandlerTest.cs(19,37): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'HostingHandlerTest.MyRootCommand' does not contain a definition for 'UseCommandHandler' and no accessible extension method 'UseCommandHandler' accepting a first argument of type 'HostingHandlerTest.MyRootCommand' could be found (are you missing a using directive or an assembly reference?)