ASP.Net 5中的引用错误

时间:2022-07-22 05:30:44

I play around with some commands like dnvm and dnu, and now when I create an empty ASP.NET 5 solution, I get reference error like this:

我玩了一些像dnvm和dnu这样的命令,现在当我创建一个空的ASP.NET 5解决方案时,我得到这样的引用错误:

Dependency Microsoft.AspNet.Server.IIS >= 1.0.0-beta5 could not be resolved
Dependency Microsoft.AspNet.Server.WebListener >= 1.0.0-beta5 could not be resolved

1 个解决方案

#1


1  

Since ASP.NET Core beta 8, these two references have changed.

自ASP.NET Core beta 8以来,这两个引用已经发生了变化。

  • Microsoft.AspNet.Server.IIS has been replaced by Microsoft.AspNet.IISPlatformHandler

    Microsoft.AspNet.Server.IIS已被Microsoft.AspNet.IISPlatformHandler取代

  • Microsoft.AspNet.Server.WebListener has been replaced by Microsoft.AspNet.Server.Kestrel

    Microsoft.AspNet.Server.WebListener已被Microsoft.AspNet.Server.Kestrel取代

And RC1 is available now. ;)

RC1现已上市。 ;)

#1


1  

Since ASP.NET Core beta 8, these two references have changed.

自ASP.NET Core beta 8以来,这两个引用已经发生了变化。

  • Microsoft.AspNet.Server.IIS has been replaced by Microsoft.AspNet.IISPlatformHandler

    Microsoft.AspNet.Server.IIS已被Microsoft.AspNet.IISPlatformHandler取代

  • Microsoft.AspNet.Server.WebListener has been replaced by Microsoft.AspNet.Server.Kestrel

    Microsoft.AspNet.Server.WebListener已被Microsoft.AspNet.Server.Kestrel取代

And RC1 is available now. ;)

RC1现已上市。 ;)