私はTeam Servicesを使用して私のソリューションのために継続的な統合をしようとしています。私のソリューションは問題なくローカルに構築されます。ビルドプロセスはインストールNugetに失敗:チームサービス継続的インテグレーションビルドリファレンスNuget Fail
溶液またはpackages.configへのパスは インストールの種類は、私はしたくないをインストールするには、設定されたSLNファイル名(boilerplate.sln)に設定されている
Error: D:\a\_tasks\NuGetInstaller_333b11bd-d341-40d9-afcf-b32d5ce6f23b\0.2.29\node_modules\nuget-task-common\NuGet\3.5.0\NuGet.exe failed with return code: 1
Packages failed to install
このソリューションでは複数のプロジェクトがあるので、package.configへのパスを設定してください。
私は復元するために、インストールタイプを設定した場合、Nugetタスクを復元することは渡しますが、ビルドソリューションは、警告やエラーの束で失敗します。
Warnings: (one of many but all similar)
C:\Program Files (x86)\MSBuild\14.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1820,5): Warning MSB3245: Could not resolve this reference. Could not locate the assembly "EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
Errors: (one of many but all similar)
src\DB\BoilerPlate.Data.Context\BoilerPlateContext.cs(3,23): Error CS0234: The type or namespace name 'Entity' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
私は単純に、このプロセスがどのように機能するかについて何かを理解していません、私はこれに新しいです助けてください。
マイフォルダ構造は次のようになります。
BoilerPlate.sln
packages
src
src\db
src\DB\BoilerPlate.Data.Context\
src\DB\BoilerPlate.Data.Context\package.config
src\DB\BoilerPlate.Data.Entities\
は "復元は、" あなたが探しているものです。 Entity Frameworkがビルドサーバーのグローバルアセンブリキャッシュにインストールされていない可能性があります。 EntityFrameworkがソリューションにNuGetパッケージとしてインストールされているかどうかを確認します。 – jessehouwing
@jessehouwing EntityはNuGetパッケージとしてインストールされています。 –
しかし、GACからロードされているように見えます。そうしないと、エラーメッセージは、アセンブリが存在すると予想される場所へのパスを表示します。プロジェクトファイルの '
jessehouwing