Cannot change Target Runtime beim Veröffentlichen in Azure von VS
Ich habe ein ASP.Core RC2-Projekt (.NET 4.5.1-Framework wird verwendet), das auf Azure als x86-Website bereitgestellt werden soll.
uf der Registerkarte "Veröffentlichungseinstellung" in VS gibt es die folgenden Werte:
Target Framework: .NET Framework 4.5.1 Target Runtime: Abgeleitete Laufzeit (win7-x64)Was ich ändern möchte, ist der Wert von "Target Runtime" auf x86-Plattform, aber diese Combobox ist inaktiv (grau).
Current project.json:
{
"version": "1.0.0-*",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-final",
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final"
},
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel"
},
"buildOptions": {
"emitEntryPoint": true
},
"frameworks": {
"net451": { }
},
"publishOptions": {
"include": [
"appsettings.json",
"project.json",
"web.config",
"NlogWeb.config"
]
},
"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-*",
"imports": "portable-net45+wp80+win8+wpa81+dnxcore50"
}
},
"scripts": {
"postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%"
}
}