.net-core - Microsoft .NET Core SDK manager
问题描述
It turned out that i have tens of side by side installed Microsoft .NET Core SDK 2.1.??? (x64) visible from Apps & Features windows settings. e.g.
Microsoft .NET Core SDK 2.1.100 (x64)
Microsoft .NET Core SDK 2.1.102 (x64)
Microsoft .NET Core SDK 2.1.104 (x64)
...
Microsoft .NET Core SDK 2.1.509 (x64)
Microsoft .NET Core SDK 2.1.511 (x64)
Microsoft .NET Core SDK 3.1.101 (x64)
Is there some kind of "dotnet core" runtime manager to keep these under control? e.g. like we have Android SDK manager where we can install/uninstall what we need in a batch?
Note: My problem is that if there is no such manager, i have to manually go through all uninstalls one by one.
解决方案
globals.json
如果您使用 CLI,我相信您必须在当前工作目录中生成一个文件。
https://docs.microsoft.com/en-us/dotnet/core/tools/global-json?tabs=netcore3x
推荐阅读
- laravel - 如何使用 laravel 5.7 设置 mailgun?
- javascript - 如何使用 Map 对象查找数组的元素计数
- python - 如何使用 selenium 从网站上抓取一些链接
- java - 安装eclipse时缺少JRE
- json - 如何使用 ELK 堆栈将大 JSON 文件导入 Docker-swarm 集群?
- haskell - 如何总结haskell中奇数的索引?
- java - dispatcherServletRegistration Spring 启动异常
- google-sheets - 如何计算 Google 表格中的所有模式?
- css - Internet Explorer/Edge 的剪辑路径替代方案
- html - 导航栏扩展时的问题(其他项目一起下降)