Невозможно загрузить надувной замок 1.8.4 с помощью Nuget.exe и MS build 15.x от Jenkins - PullRequest
0 голосов
/ 01 февраля 2019

Прежде всего, я новичок в Nuget.Я пытаюсь собрать свой основной проект .net, используя MS Build 15.x в Jenkins.Моя сборка не удалась, и я получил следующие детали.Не могли бы вы помочь мне, что я делаю неправильно?

Есть ли способ исправить это?или как я могу пропустить какую-либо конкретную цель, чтобы она не восстанавливалась, а Nuget игнорировал ее ... С нетерпением ждем вашей быстрой помощи

Started by user Sikandar Hayyat
Building in workspace C:\Program Files (x86)\Jenkins\workspace\test
[test] $ cmd /c call C:\WINDOWS\TEMP\jenkins3265288796536177035.bat

C:\Program Files (x86)\Jenkins\workspace\test>C:\existing-nuget\nuget.exe restore "E:\WebRA-SoucreCode\Code\trunk\WEBRA.sln" 
MSBuild auto-detection: using msbuild version '15.9.21.664' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin'.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.RA\obj\project.assets.json
Restore completed in 126.48 ms for E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.RA\WebRA.Modules.RA.csproj.
WARNING: NU1701: Package 'BouncyCastle 1.8.4' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
WARNING: NU1701: Package 'DapperExtensions 1.6.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Configurations\obj\project.assets.json
Restore completed in 157.91 ms for E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Configurations\WebRA.Modules.Configurations.csproj.
WARNING: NU1701: Package 'BouncyCastle 1.8.4' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
WARNING: NU1701: Package 'BouncyCastle 1.8.4' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
WARNING: NU1701: Package 'DapperExtensions 1.6.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Accounts\obj\project.assets.json
Restore completed in 158.4 ms for E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Accounts\WebRA.Modules.Accounts.csproj.
WARNING: NU1701: Package 'DapperExtensions 1.6.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Certificate\obj\project.assets.json
Restore completed in 158.42 ms for E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Certificate\WebRA.Modules.Certificate.csproj.
WARNING: NU1701: Package 'BouncyCastle 1.8.4' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
WARNING: NU1701: Package 'DapperExtensions 1.6.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: E:\WebRA-SoucreCode\Code\trunk\WebRA.Modules.Common\obj\project.assets.json
Restore completed in 36.83 ms for E:\WebRA-SoucreCode\Code\trunk\WebRA.Modules.Common\WebRA.Modules.Common.csproj.
WARNING: NU1701: Package 'BouncyCastle 1.8.4' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
WARNING: NU1701: Package 'DapperExtensions 1.6.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: E:\WebRA-SoucreCode\Code\trunk\WebRA.Admin\obj\project.assets.json
Restore completed in 108.06 ms for E:\WebRA-SoucreCode\Code\trunk\WebRA.Admin\WebRA.Admin.csproj.
WARNING: NU1701: Package 'BouncyCastle 1.8.4' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
WARNING: NU1701: Package 'DapperExtensions 1.6.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: E:\WebRA-SoucreCode\Code\trunk\WebRa.Web\obj\project.assets.json
Restore completed in 82.26 ms for E:\WebRA-SoucreCode\Code\trunk\WebRa.Web\WebRa.Web.csproj.

NuGet Config files used:
    C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\NuGet\NuGet.Config
    C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config

Feeds used:
    C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
    https://api.nuget.org/v3/index.json

C:\Program Files (x86)\Jenkins\workspace\test>exit 0 
Path To MSBuild.exe: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
Executing the command cmd.exe /C " chcp 1252 & "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe" E:\WebRA-SoucreCode\Code\trunk\WEBRA.sln " && exit %%ERRORLEVEL%% from C:\Program Files (x86)\Jenkins\workspace\test
[test] $ cmd.exe /C " chcp 1252 & "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe" E:\WebRA-SoucreCode\Code\trunk\WEBRA.sln " && exit %%ERRORLEVEL%%
Active code page: 1252
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
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 2/1/2019 10:40:26 PM.
Project "E:\WebRA-SoucreCode\Code\trunk\WEBRA.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|Any CPU".
Project "E:\WebRA-SoucreCode\Code\trunk\WEBRA.sln" (1) is building "E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Accounts\WebRA.Modules.Accounts.csproj" (2) on node 1 (default targets).
C:\Program Files\dotnet\sdk\2.2.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1064: Package BouncyCastle, version 1.8.4 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions. [E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Accounts\WebRA.Modules.Accounts.csproj]
Done Building Project "E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Accounts\WebRA.Modules.Accounts.csproj" (default targets) -- FAILED.
Project "E:\WebRA-SoucreCode\Code\trunk\WEBRA.sln" (1) is building "E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Configurations\WebRA.Modules.Configurations.csproj" (3) on node 1 (default targets).
C:\Program **Files\dotnet\sdk\2.2.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1064: Package BouncyCastle, version 1.8.4 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions.** [E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Configurations\WebRA.Modules.Configurations.csproj]
Done Building Project "E:\WebRA-SoucreCode\Code\trunk\Modules\WebRA.Modules.Configurations\WebRA.Modules.Configurations.csproj" (default targets) -- FAILED.
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...