我有一个ASP.Core RC2项目(使用.NET 4.5.1框架),应该作为x86 Web站点部署在Azure上.
在VS中的“发布设置”选项卡上,有以下值:
>目标框架:.NET Framework 4.5.1
>目标运行时:推断运行时(win7-x64)
我想要改变的是x86平台的“目标运行时”的值,但这个组合框是无效的(灰色).
目前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%" } }