nuget-package-restore

Azure DevOps Project pipeline not able to access NuGet package from Artifact Feed in different Project

旧街凉风 提交于 2020-05-23 07:19:05
问题 Updated 20-Feb-2020 Summary Azure DevOps pipeline build not able to find NuGet package from our private feed under Artifacts. Our Azure DevOps environment In Azure, we have our company "space": dev.azure.com/OurCompany Under that, we have multiple Projects, so for example, imagine these three: Green: this holds applications of a certain type Blue: this holds applications of a different type Red: this holds our "common" helper code RED RED holds all our common helper code are DLLs consumed by

Error NU1101: Unable to find package ProjectABC.Core.Services. No packages exist with this id in source(s)

倾然丶 夕夏残阳落幕 提交于 2020-05-15 07:44:05
问题 I am trying to implement CI/CD on Azure DevOps for my Asp.net Core project. Project having Nuget packages from three different sources: MSBUild in Azure Pipeline is going to find nuget packages in Offline Packages or Nuget.org only but not going to find external source which i am also using: http://dev-abc-api-nugetserver-wi.azurewebsites.net/nuget/ I have tried below code in Azure Pipeline Build but that didn't work /p:RestoreAdditionalSources="http://dev-abc-api-nugetserver-wi.azurewebsites

Nuget package failed to restore with the Error - The HTTP request has timed out after 100000ms

試著忘記壹切 提交于 2020-04-18 01:09:27
问题 I am getting error while restoring package from my Azure Artifacts Feed. How I do is , I have one nuget.config file(which contains url for my Azure artifacts feed and credentials) which I am calling from nuget.exe from my build machine. Problem is , From the same network's build machine this process is working fine. From another network's machine also packages are getting restored except one, for only one package I am getting an error here. Error- Errors in packages.config projects Unable to

Nuget package failed to restore with the Error - The HTTP request has timed out after 100000ms

喜你入骨 提交于 2020-04-18 01:08:05
问题 I am getting error while restoring package from my Azure Artifacts Feed. How I do is , I have one nuget.config file(which contains url for my Azure artifacts feed and credentials) which I am calling from nuget.exe from my build machine. Problem is , From the same network's build machine this process is working fine. From another network's machine also packages are getting restored except one, for only one package I am getting an error here. Error- Errors in packages.config projects Unable to

MSBuild - Jenkins - Nuget integration

不打扰是莪最后的温柔 提交于 2020-02-22 08:49:43
问题 We are experiencing some weird behavior using Jenkins and MSBuild. When manually typing into a command line to build a build.xml project: msbuild build.xml /T:Package /P:PublishProfile=Test /P:Platform="AnyCPU" /P:VisualStudioVersion=12.0 The build process works exactly as expected (build, packaging, etc.) However, if I am using Jenkins to do exactly this - that is - open a command line and run this exact command, I get an error saying: The command ""..\.nuget\NuGet.exe" install "C:\Jenkins

Visual Studio Team Services Continuous Integration: NuGet Restore Task Failed

大兔子大兔子 提交于 2020-01-24 03:26:35
问题 I am using Continuous Integration feature in Team Services (was Visual Studio Online). My build definition targets a specific project in a solution (not the whole solution), which is ClientUI MVC website. The solution contains three projects: ClientUI AdminUI Client Services The Build Definition for ClientUI Project: Repository : Nuget Installer Step: I have tried different params but not working. Visual Studio Build Before trying to target the a single project, my build definition was

Nuget Restore in MS Build Step

随声附和 提交于 2020-01-17 00:46:32
问题 In my asp.net web application, i have solution with 5 projects and nuget.org. In TFS Build Definition, 1) While building the whole solution in Visual Studio Build Task Nuget packages getting restored. 2) While trying to generate executable files for individual projects in MS Build Task If I select Restore Nuget packages, It's not finding nuget packages and step getting failed with message - "Process 'NuGet.exe' exited with code '1'." I have tried many references online and none worked. Any

Does Google BigQuery charge for GetQueryResults()

夙愿已清 提交于 2020-01-07 08:37:23
问题 I am running the Query in C#.NET application using .NET API library which is added through Nu-Get package manager. My Query: Select * From DataSetID.TableID LIMIT 10000 Note: Data Processing for the above query is 1GB (get it from Web-UI). When i am running the same query in C#.NET application, i am able to get ~5600 Rows in single request, then i am passing PageToken to GetQueryResults method and get remaining records. (Through pagination). So There are 2 Query request to get 10K records.

dotnet build command fails while restoring packages

大兔子大兔子 提交于 2020-01-04 07:46:11
问题 I have a project that's building fine locally but the build in VSTS it fails in dotnet build command. The error looks very strange to me because I have no idea why a build command would try to restore packages again. Here's what the error looks like: 2018-07-09T11:06:48.2541705Z Retrying 'FindPackagesByIdAsync' for source 'https://mycompany.pkgs.visualstudio.com/_packaging/5b9fd539-d653-4771-aa3c-6544d73b1234/nuget/v3/flat2/system.data.sqlclient/index.json'. 2018-07-09T11:06:48.2562315Z

dotnet build command fails while restoring packages

流过昼夜 提交于 2020-01-04 07:45:38
问题 I have a project that's building fine locally but the build in VSTS it fails in dotnet build command. The error looks very strange to me because I have no idea why a build command would try to restore packages again. Here's what the error looks like: 2018-07-09T11:06:48.2541705Z Retrying 'FindPackagesByIdAsync' for source 'https://mycompany.pkgs.visualstudio.com/_packaging/5b9fd539-d653-4771-aa3c-6544d73b1234/nuget/v3/flat2/system.data.sqlclient/index.json'. 2018-07-09T11:06:48.2562315Z