We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 513d6fc commit f972609Copy full SHA for f972609
GeoProcessorApp/Program.cs
@@ -57,11 +57,12 @@ private static async Task Main( string[] args )
57
.AddConfigurationInitializers( SetupConfiguration )
58
.LoggerInitializer( SetupLogging )
59
.FilePathTrimmer( FilePathTrimmer )
60
- .CommandLineOperatingSystem( CommandLineOperatingSystems.Windows )
61
- .CommandLineOptionsInitializer( SetupOptions )
62
.AddDependencyInjectionInitializers( SetupDependencyInjection )
63
.AddServicesInitializers( SetupServices );
64
+ hostConfig.AddCommandLineProcessing( CommandLineOperatingSystems.Windows )
+ .OptionsInitializer( SetupOptions );
65
+
66
_buildLogger = hostConfig.Logger;
67
68
if( hostConfig.MissingRequirements != J4JHostRequirements.AllMet )
0 commit comments