惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Microsoft Azure Blog
Microsoft Azure Blog
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
小众软件
小众软件
F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Google DeepMind News
Google DeepMind News
Jina AI
Jina AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
aimingoo的专栏
aimingoo的专栏
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
J
Java Code Geeks
WordPress大学
WordPress大学
The Cloudflare Blog

博客园 - 赵长青

每天fetch origin, rebase origin/xx gerrit冲突修改 安装wine 安装claude code 安装playwright vue3中 element-plus ,vein-plus的 aria-hidden问题,无障碍访问警告,辅助技术如屏幕阅读器无法识别聚集元素,违反wai-aria规范 vue3中图片、示例文件下载适应打包后路径不存在 ant-design中<a-table前端分页 ant-design中<a-table获取多分页中选择、全选问题处理 GeoScene Pro试用申请 arcgis engine10.8现在都没有破解的吧,这些功能报错 超图版本cesium加载3dtiles数据要加这行 cesium 点击弹窗鼠标移动跟随,不用infobox 使用超图SuperMap iClient3D for Cesium 2025 webstorm 右键打开项目不见src目录,删除.idea目录 删除右键"上传到夸克网盘"/"上传到百度网盘"/“上传到迅雷云盘 pyqt5+qgis 01-修改界面颜色 wsl-windows中ubuntu22.04 postgis初始sql pycharm2023的intepreter 路径存在哪儿呢 ?太多要清理一下 qq小程序不能创建
nuget问题,程序包源找不到,安装不上
赵长青 · 2025-11-14 · via 博客园 - 赵长青

image

 替换这里的文件内容:

C:\Users\yansc\AppData\Roaming\NuGet\NuGet.Config

就有了

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <!-- Define the package sources, nuget.org and contoso.com. -->
  <!-- `clear` ensures no additional sources are inherited from another config file. -->
  <packageSources>
    <clear />
    <!-- `key` can be any identifier for your source. -->
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    <add key="contoso.com" value="https://contoso.com/packages/" />
  </packageSources>
  
  <!-- Define mappings by adding package patterns beneath the target source. -->
  <!-- Contoso.* packages and NuGet.Common will be restored from contoso.com,
       everything else from nuget.org. -->
  <packageSourceMapping>
    <!-- key value for <packageSource> should match key values from <packageSources> element -->
    <packageSource key="nuget.org">
      <package pattern="*" />
    </packageSource>
    <packageSource key="contoso.com">
      <package pattern="Contoso.*" />
      <package pattern="NuGet.Common" />
    </packageSource>
  </packageSourceMapping>
  <config> 
    <add key="globalPackagesFolder" value="D:\nuget\packages" />
</config>
</configuration>

包源映射这样:

image

image

posted on 2025-11-14 20:10  赵长青  阅读(45)  评论()    收藏  举报