gpt4 book ai didi

nuget.config被忽略,特别是repositoryPath

转载 作者:行者123 更新时间:2023-12-04 03:43:08 36 4
gpt4 key购买 nike

Visual Studio 2015会忽略位于解决方案目录中的nuget.config。该文件具有以下内容:

<?xml version="1.0" encoding="utf-8"?>
<settings>
<repositoryPath>../packages/nuget</repositoryPath>
</settings>

但是,Visual Studio只是将所有软件包放入解决方案目录中的packages文件夹中。

使用Visual Studio 2013时,此文件可以正常工作多年。我缺少某些东西吗?

我正在使用最新版本的NuGet扩展(3.2)

最佳答案

看起来不再支持我到目前为止使用的格式。

以下文件有效:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="repositoryPath" value="..\packages\nuget" />
</config>
</configuration>

关于nuget.config被忽略,特别是repositoryPath,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33089884/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com