更新时间:2022-11-06 08:12:53
在.NET Core中,Nuget不再适合于部署客户端文件.这是Microsoft做出的设计决定.相反,您可以使用任何客户端构建/部署工具中的任何一个,例如npm,或者我的偏好是简单地链接到CDN位置所需的库.这样可以消除部署问题,并为您的用户提供更好的性能.
In .NET Core, Nuget is no longer suitable for deploying client files. This was a design decision made by Microsoft. Instead, you can use any of a host of client build/deploy tools like npm, or my preference is to simply link to the libraries you need st a CDN location. This eliminates deployment issues and offers better performance for your users.