public Task Run(IExtensionInstallerStepContext context) { context.Logger.LogInformation("************** Executing extension installer extension PreInstall step **************"); context.SetConfigurationValue(ConfigurationKeys.SampleKey, "SampleValueSetDuringPre-Install"); return(Task.CompletedTask); }
public Task Run(IExtensionInstallerStepContext context) { context.Logger.LogInformation("************** Executing extension installer extension PostInstall step **************"); context.PowerShellService.Run("echo 'About to print the value received from the PreInstallStep'"); context.Logger.LogInformation($"Found configuration value: {context.GetConfigurationValue(ConfigurationKeys.SampleKey)}"); return(Task.CompletedTask); }