搭建NugetServer服务时报部件uri不能以两个正斜杠开头

在内网搭建NugetServer服务时,初始化大量.nupkg文件时报“部件URI不能以两个正斜杠开头”。

处理方法:把packages下的文件夹都删除,然后重建,看卡在了那个包中,删之。

错误示例:

when i copied the latest version of bundlerminifier.core.2.8.391 to nuget.server 3.1.2 receiving same

error-part uri cannot start with two forward slashes.

https://github.com/madskristensen/BundlerMinifier/issues/309

另一种解决的方式:

使用winrar打开nupkg文件,编辑content_types.xml 改 partname="/prefercliruntime"

发布了181 篇原创文章 · 获赞 35 · 访问量 76万+

猜你喜欢

转载自blog.csdn.net/dacong/article/details/84591367
今日推荐