appveyor / ci

AppVeyor community support repository
https://www.appveyor.com
344 stars 65 forks source link

IIS 10 on Visual Studio 2019 image #3022

Closed FeodorFitsner closed 5 years ago

FeodorFitsner commented 5 years ago

Original issue: https://help.appveyor.com/discussions/problems/24344-vs-2019-build-cant-find-iis-service

Workaround:

Write-Host "Main command..."
cmd /c start /wait dism /Online /Enable-Feature /FeatureName:IIS-WebServer /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-WebServerRole /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-ASPNET /FeatureName:IIS-ASPNET45 /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-NetFxExtensibility45 /FeatureName:NetFx4Extended-ASPNET45 /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-DefaultDocument /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HttpLogging /FeatureName:IIS-LoggingLibraries /FeatureName:IIS-RequestMonitor /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpRedirect /FeatureName:IIS-IIS6ManagementCompatibility /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-WebSockets /FeatureName:IIS-RequestFiltering /FeatureName:IIS-Performance /FeatureName:IIS-Security /FeatureName:IIS-StaticContent /FeatureName:WAS-ConfigurationAPI /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ProcessModel /FeatureName:WAS-WindowsActivationService /All

Write-Host "ASP.NET 4.5..."
cmd /c start /wait dism /Online /Enable-Feature /FeatureName:IIS-ASPNET45 /All

Write-Host "WAS..."
Install-WindowsFeature "Web-Server","Web-Http-Errors","Web-App-Dev","Web-Asp-Net","Web-Net-Ext","Web-ASP","Web-CGI","Web-ISAPI-Ext","Web-ISAPI-Filter","Web-Includes","Web-Basic-Auth","Web-Windows-Auth","Web-Mgmt-Compat","Web-Metabase","Web-WMI","Web-Lgcy-Scripting","Web-Lgcy-Mgmt-Console","NET-HTTP-Activation","NET-HTTP-Activation","NET-Non-HTTP-Activ","NET-WCF-HTTP-Activation45","NET-WCF-MSMQ-Activation45","NET-WCF-Pipe-Activation45","NET-WCF-TCP-Activation45","AS-NET-Framework"
wozzo commented 5 years ago

Cheers for raising and for the workaround. Any rough ideas when this'll reach prod?

IlyaFinkelshteyn commented 5 years ago

@wozzo 1-2 weeks, but cannot give a specific promises

wozzo commented 5 years ago

Any movement on this?

wozzo commented 5 years ago

@FeodorFitsner @IlyaFinkelshteyn is this any closer to being done?

IlyaFinkelshteyn commented 5 years ago

We plan to update Visual Studio 2019 image this week.

wozzo commented 5 years ago

@IlyaFinkelshteyn I saw the milestone was dated yesterday, has this gone out yet?

IlyaFinkelshteyn commented 5 years ago

We will switch image today tonight, sorry for those delays.

wozzo commented 5 years ago

Thanks.