更新时间:2022-02-19 23:41:29
叹...
万一链接失效...我在 IIS6 中托管我的 NuGet 服务器,该服务器未设置为正确处理无扩展 URL.由于下载单个包的语义从直接文件链接更改为无扩展名路由,我开始收到 404.添加文章中描述的通配符映射立即修复它.
In case the link ever dies...I am hosting my NuGet server in IIS6, which wasn't set up to properly handle extensionless URLs. And since the semantics of downloading individual packages changed from a direct file link to an extensionless route, I started getting 404s. Adding the wildcard mapping described in the article fixed it instantly.