3
我正在使用.NET Full CLR和VS 2015 CTP5。 我能夠在IIS快遞本地運行一個簡單的項目,但是當我打包和部署到IIS,我得到這個錯誤 -部署到IIS後ASP.NET Vnext錯誤
[Exception: Unable to locate project.json]
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +556
[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +575
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +112
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +726
能夠從這篇文章中看出這一點。 http://codedbeard.com/asp-net-5-0-deploy-to-local-iis/ – 2015-02-12 21:28:59