0

在将该 nuget 包添加到我的项目后,我正在尝试在我的 Visual Studio 2013 上运行 Nuget.Server。

错误:

    [ArgumentOutOfRangeException: Specified argument was out of the range of valid values..
Paramter name: site]
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +303

[HttpException (0x80004005): Specified argument was out of the range of valid values..
שם פרמטר: site]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9915300
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
4

2 回答 2

1

实际上,问题是不同的。

在启用本地 IIS 服务器之前,我无法在 VS 2013 和 Windows 7 Home Premium 上启动任何 Web 应用程序。

问题在这里解决:

ASP.net 论坛

于 2014-08-02T20:39:50.727 回答
0

你安装了哪个版本的 NuGet.Server 包?您是否将其安装到 asp.net Web 应用程序?

有关如何创建远程提要的文档 - http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds

于 2014-08-01T18:28:57.773 回答