但我一直有个例外,
C:\DWASFiles\Sites\tst-zenworx\VirtualDirectory0\site\repository\Zenworx\.nuget\nuget.targetsRestoring NuGet packages...\nuget.targets(83,8): error : An exception occurred during a WebClient request.Restoring NuGet packages...\nuget.tar
但是,当我使用nuget数据包管理器安装te最新版本的 (它需要.NET 4.0)时,我在尝试使用条带命名空间时会得到错误Error CS0246 The type or namespace name我相当肯定这是由于Monodevelop的干扰造成的,因为当我创建一个干净的Stripe项目并获得与nuget完全相同的包时,我能够使用.net命名空间。我已经尝试了遵循步骤,但由于我已经使用nuget从一开始,这并没有为我做任何事情。
编辑:我知道,但是这几年没有更新,再加上负面评论,我觉得用这个很不舒服
C:\Program Files\dotnet\sdk\2.0.0\NuGet.targets(102,5): error : Unable to load the service index forsource https://api.nuget.org/v3/index.json.[C:\TFSBuildAgent\_work\1\s\HelloWorld\HelloWorld.sln]
C:\Program Files\dotnet\sdk\2.0.0\NuGet.targets[C:\TFSB
当我在该自定义代理上运行CI时,Nuget restore任务失败:
The nuget command failed with exit code(1) and error(An error occurred有一个Nuget.Config文件%appdata%/Roaming/Nuget,我在C:\Program Files (x86)\NuGet\Config和解决方案文件夹中添加了一个文件。