-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
-
Development
Hi,
I am trying to build solution and creating package but getting below error
Building in workspace C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache
> C:\Program Files (x86)\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> C:\Program Files (x86)\Git\bin\git.exe config remote.origin.url http://192.168.1.29/hme-website/cache.git # timeout=10
Fetching upstream changes from http://192.168.1.29/hme-website/cache.git
> C:\Program Files (x86)\Git\bin\git.exe --version # timeout=10
using .gitcredentials to set credentials
> C:\Program Files (x86)\Git\bin\git.exe config --local credential.username root # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe config --local credential.helper store --file=\"C:\Windows\TEMP\git5033850229643937109.credentials\" # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe -c core.askpass=true fetch --tags --progress http://192.168.1.29/hme-website/cache.git +refs/heads/:refs/remotes/origin/
> C:\Program Files (x86)\Git\bin\git.exe config --local --remove-section credential # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe rev-parse "refs/remotes/origin/master^
> C:\Program Files (x86)\Git\bin\git.exe rev-parse "refs/remotes/origin/origin/master^{commit}
" # timeout=10
Checking out Revision 69c1452c941b17f33c3b36438d91e99f5e697c89 (refs/remotes/origin/master)
> C:\Program Files (x86)\Git\bin\git.exe config core.sparsecheckout # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe checkout -f 69c1452c941b17f33c3b36438d91e99f5e697c89
First time build. Skipping changelog.
Path To MSBuild.exe: C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe
Executing the command cmd.exe /C " "C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe" Traveazy.Cache.sln " && exit %%ERRORLEVEL%% from C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache
[Traveazy.Cache] $ cmd.exe /C " "C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe" Traveazy.Cache.sln " && exit %%ERRORLEVEL%%
Microsoft (R) Build Engine version 12.0.31101.0
[Microsoft .NET Framework, version 4.0.30319.34014]
Copyright (C) Microsoft Corporation. All rights reserved.
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 7/28/2016 7:17:54 AM.
Project "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Project "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.sln" (1) is building "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\Traveazy.Cache.csproj" (2) on node 1 (default targets).
RestorePackages:
"C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.exe" install "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\ "
Restoring NuGet packages...
To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'.
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error : Unable to find version '2.0.0.3' of package 'StackExchange.Redis'. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\Traveazy.Cache.csproj]
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error : Unable to find version '2.0.0.91' of package 'Traveazy.Helpers.JSONConfig'. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\Traveazy.Cache.csproj]
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error MSB3073: The command ""C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.exe" install "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\ "" exited with code 1. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\Traveazy.Cache.csproj]
Done Building Project "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\Traveazy.Cache.csproj" (default targets) – FAILED.
Project "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.sln" (1) is building "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\Traveazy.Cache.IntegrationTest.csproj" (4) on node 1 (default targets).
RestorePackages:
"C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.exe" install "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\ "
Restoring NuGet packages...
To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'.
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error : Unable to find version '2.0.0.3' of package 'StackExchange.Redis'. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\Traveazy.Cache.IntegrationTest.csproj]
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error MSB3073: The command ""C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.exe" install "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\ "" exited with code 1. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\Traveazy.Cache.IntegrationTest.csproj]
Done Building Project "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\Traveazy.Cache.IntegrationTest.csproj" (default targets) – FAILED.
Done Building Project "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.sln" (default targets) – FAILED.
Build FAILED.
"C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.sln" (default target) (1) ->
"C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\Traveazy.Cache.csproj" (default target) (2) ->
(RestorePackages target) ->
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error : Unable to find version '2.0.0.3' of package 'StackExchange.Redis'. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\Traveazy.Cache.csproj]
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error : Unable to find version '2.0.0.91' of package 'Traveazy.Helpers.JSONConfig'. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\Traveazy.Cache.csproj]
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error MSB3073: The command ""C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.exe" install "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\ "" exited with code 1. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache\Traveazy.Cache.csproj]
"C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.sln" (default target) (1) ->
"C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\Traveazy.Cache.IntegrationTest.csproj" (default target) (4) ->
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error : Unable to find version '2.0.0.3' of package 'StackExchange.Redis'. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\Traveazy.Cache.IntegrationTest.csproj]
C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.targets(100,9): error MSB3073: The command ""C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\.nuget\NuGet.exe" install "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\ "" exited with code 1. [C:\Program Files (x86)\Jenkins\workspace\Traveazy.Cache\Traveazy.Cache.IntegrationTest\Traveazy.Cache.IntegrationTest.csproj]
0 Warning(s)
5 Error(s)
Time Elapsed 00:00:03.90
Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure
Finished: FAILURE
I have done all configuration and necessary changes but not understanding where exactly miss out. but some of the other project build are generating successfully.