Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
公用nuget文件夹_Nuget_Repository_Config - Fatal编程技术网

公用nuget文件夹

公用nuget文件夹,nuget,repository,config,Nuget,Repository,Config,我在VS中的解决方案旁边创建了一个nuget.config文件。请注意,目标文件夹位于不同的计算机上。nuget.config文件包含以下内容: <config> <add key="repositoryPath" value="T:\some_folder\installed_packages" /> </config> 我在项目参考中做了更新,所以这些看起来不错。像这样: <WebGreaseLi

我在VS中的解决方案旁边创建了一个nuget.config文件。请注意,目标文件夹位于不同的计算机上。nuget.config文件包含以下内容:

<config>
    <add key="repositoryPath" value="T:\some_folder\installed_packages" />
</config>

我在项目参考中做了更新,所以这些看起来不错。像这样:

<WebGreaseLibPath>T:\some_folder\installed_packages\WebGrease.1.5.2\lib</WebGreaseLibPath>
<WebGreaseLibPath>..\packages\WebGrease.1.5.2\lib</WebGreaseLibPath>
T:\some\u folder\installed\u packages\webfleep.1.5.2\lib
将nuget软件包安装到指定位置没有问题。所有的引用看起来都不错,但是当运行项目时,我得到一个500错误,没有抛出构建错误。我错过了什么?当包文件夹位于解决方案根目录中时,它会工作。像这样:

<WebGreaseLibPath>T:\some_folder\installed_packages\WebGrease.1.5.2\lib</WebGreaseLibPath>
<WebGreaseLibPath>..\packages\WebGrease.1.5.2\lib</WebGreaseLibPath>
。\packages\webfleep.1.5.2\lib