2016-10-19 3 views
2

これは、に従っており、Jenkins for Windows 10アプリケーションを使用してアプリケーションパッケージを自動生成します。後で私はWindows 8.1のアプリケーションにも同じものを使用します。しかし、Jenkinsコンソールでは、パッケージをビルド中に固執し、次のエラーが表示されます。CSC:エラーCS0006:Jenkinsを使用してUWPパッケージを生成中にメタデータファイルを見つけることができませんでした

FYI:通常、Visual Studioからパッケージを生成できます。ジェンキンスで

私のWindowsバッチコマンドは次のとおりです。

C:\ Users \ユーザーPC名\ .nuget \ nuget \ nuget.exe 「C復元:視覚的な\ \ Users \ユーザーPC名\ドキュメントスタジオ 2015プロジェクト\ \ JenkinsWin \ JenkinsWin.sln」-configFile "C:\ Users \ユーザーPC名\のAppData \ローミング\ NuGet \ NuGet.Config" -nocache

また、Windows PowerShellのコマンドは次のとおりです。

$のMSBuild = "C:\プログラムファイル(x86の)\ MSBuildの\ 14.0 \からMSBuild.exe \ binに"

セットエイリアスのMSBuild $ MSBuildの

$ sln_name =「C:\ Users \ユーザーPC- Visual Studioの 2015プロジェクト\ \ JenkinsWin \ JenkinsWin.sln」

$ vs_config = "リリース"

$ vs_platfom = "ARM"

書き込みホスト "建物solution`n" \ \ドキュメントに名前を付けます-foregroundcolor 緑色

MSBuildの$ sln_name /トン:/ Pをビルドします。設定= $ vs_config /P:プラットフォーム= $ vs_platfom/V:Q/NOLOGO

後は、コンソールでのエラーです:

CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.CSharp\4.0.0\ref\netcore50\Microsoft.CSharp.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.VisualBasic\10.0.0\ref\netcore50\Microsoft.VisualBasic.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.Win32.Primitives\4.0.0\ref\dotnet\Microsoft.Win32.Primitives.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\mscorlib.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.AppContext\4.0.0\ref\dotnet\System.AppContext.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Collections.Concurrent\4.0.10\ref\dotnet\System.Collections.Concurrent.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Collections\4.0.10\ref\dotnet\System.Collections.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Collections.Immutable\1.1.37\lib\dotnet\System.Collections.Immutable.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Collections.NonGeneric\4.0.0\ref\dotnet\System.Collections.NonGeneric.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Collections.Specialized\4.0.0\ref\dotnet\System.Collections.Specialized.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.ComponentModel.Annotations\4.0.10\ref\dotnet\System.ComponentModel.Annotations.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.ComponentModel.DataAnnotations.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.ComponentModel\4.0.0\ref\netcore50\System.ComponentModel.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.ComponentModel.EventBasedAsync\4.0.10\ref\dotnet\System.ComponentModel.EventBasedAsync.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.Core.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Data.Common\4.0.0\ref\dotnet\System.Data.Common.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Diagnostics.Contracts\4.0.0\ref\netcore50\System.Diagnostics.Contracts.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Diagnostics.Debug\4.0.10\ref\dotnet\System.Diagnostics.Debug.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Diagnostics.StackTrace\4.0.0\ref\dotnet\System.Diagnostics.StackTrace.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Diagnostics.Tools\4.0.0\ref\netcore50\System.Diagnostics.Tools.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Diagnostics.Tracing\4.0.20\ref\dotnet\System.Diagnostics.Tracing.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Dynamic.Runtime\4.0.10\ref\dotnet\System.Dynamic.Runtime.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Globalization.Calendars\4.0.0\ref\dotnet\System.Globalization.Calendars.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Globalization\4.0.10\ref\dotnet\System.Globalization.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Globalization.Extensions\4.0.0\ref\dotnet\System.Globalization.Extensions.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.IO.Compression\4.0.0\ref\netcore50\System.IO.Compression.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.IO.Compression.ZipFile\4.0.0\ref\dotnet\System.IO.Compression.ZipFile.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.IO\4.0.10\ref\dotnet\System.IO.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.IO.FileSystem\4.0.0\ref\dotnet\System.IO.FileSystem.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.IO.FileSystem.Primitives\4.0.0\ref\dotnet\System.IO.FileSystem.Primitives.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.IO.IsolatedStorage\4.0.0\ref\dotnet\System.IO.IsolatedStorage.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.IO.UnmanagedMemoryStream\4.0.0\ref\dotnet\System.IO.UnmanagedMemoryStream.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Linq\4.0.0\ref\netcore50\System.Linq.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Linq.Expressions\4.0.10\ref\dotnet\System.Linq.Expressions.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Linq.Parallel\4.0.0\ref\netcore50\System.Linq.Parallel.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Linq.Queryable\4.0.0\ref\netcore50\System.Linq.Queryable.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.Net.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Net.Http\4.0.0\ref\netcore50\System.Net.Http.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Net.Http.Rtc\4.0.0\ref\netcore50\System.Net.Http.Rtc.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Net.NetworkInformation\4.0.0\ref\netcore50\System.Net.NetworkInformation.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Net.Primitives\4.0.10\ref\dotnet\System.Net.Primitives.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Net.Requests\4.0.10\ref\dotnet\System.Net.Requests.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Net.Sockets\4.0.0\ref\dotnet\System.Net.Sockets.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Net.WebHeaderCollection\4.0.0\ref\dotnet\System.Net.WebHeaderCollection.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.Numerics.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Numerics.Vectors\4.1.0\ref\dotnet\System.Numerics.Vectors.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Numerics.Vectors.WindowsRuntime\4.0.0\lib\dotnet\System.Numerics.Vectors.WindowsRuntime.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.ObjectModel\4.0.10\ref\dotnet\System.ObjectModel.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Reflection.Context\4.0.0\ref\netcore50\System.Reflection.Context.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Reflection.DispatchProxy\4.0.0\ref\dotnet\System.Reflection.DispatchProxy.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Reflection\4.0.10\ref\dotnet\System.Reflection.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Reflection.Extensions\4.0.0\ref\netcore50\System.Reflection.Extensions.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Reflection.Metadata\1.0.22\lib\dotnet\System.Reflection.Metadata.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Reflection.Primitives\4.0.0\ref\netcore50\System.Reflection.Primitives.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Reflection.TypeExtensions\4.0.0\ref\dotnet\System.Reflection.TypeExtensions.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Resources.ResourceManager\4.0.0\ref\netcore50\System.Resources.ResourceManager.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime\4.0.20\ref\dotnet\System.Runtime.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.Extensions\4.0.10\ref\dotnet\System.Runtime.Extensions.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.Handles\4.0.0\ref\dotnet\System.Runtime.Handles.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.InteropServices\4.0.20\ref\dotnet\System.Runtime.InteropServices.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.InteropServices.WindowsRuntime\4.0.0\ref\netcore50\System.Runtime.InteropServices.WindowsRuntime.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.Numerics\4.0.0\ref\netcore50\System.Runtime.Numerics.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.Runtime.Serialization.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.Serialization.Json\4.0.1\ref\netcore50\System.Runtime.Serialization.Json.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.Serialization.Primitives\4.1.0\ref\netcore50\System.Runtime.Serialization.Primitives.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.Serialization.Xml\4.1.0\ref\netcore50\System.Runtime.Serialization.Xml.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.WindowsRuntime\4.0.10\ref\netcore50\System.Runtime.WindowsRuntime.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Runtime.WindowsRuntime.UI.Xaml\4.0.0\ref\netcore50\System.Runtime.WindowsRuntime.UI.Xaml.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Security.Claims\4.0.0\ref\dotnet\System.Security.Claims.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Security.Principal\4.0.0\ref\netcore50\System.Security.Principal.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.ServiceModel.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.ServiceModel.Duplex\4.0.0\ref\netcore50\System.ServiceModel.Duplex.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.ServiceModel.Http\4.0.10\ref\dotnet\System.ServiceModel.Http.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.ServiceModel.NetTcp\4.0.0\ref\netcore50\System.ServiceModel.NetTcp.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.ServiceModel.Primitives\4.0.0\ref\netcore50\System.ServiceModel.Primitives.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.ServiceModel.Security\4.0.0\ref\netcore50\System.ServiceModel.Security.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.ServiceModel.Web.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Text.Encoding.CodePages\4.0.0\ref\dotnet\System.Text.Encoding.CodePages.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Text.Encoding\4.0.10\ref\dotnet\System.Text.Encoding.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Text.Encoding.Extensions\4.0.10\ref\dotnet\System.Text.Encoding.Extensions.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Text.RegularExpressions\4.0.10\ref\dotnet\System.Text.RegularExpressions.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Threading\4.0.10\ref\dotnet\System.Threading.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Threading.Overlapped\4.0.0\ref\dotnet\System.Threading.Overlapped.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Threading.Tasks.Dataflow\4.5.25\lib\dotnet\System.Threading.Tasks.Dataflow.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Threading.Tasks\4.0.10\ref\dotnet\System.Threading.Tasks.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Threading.Tasks.Parallel\4.0.0\ref\netcore50\System.Threading.Tasks.Parallel.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Threading.Timer\4.0.0\ref\netcore50\System.Threading.Timer.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.Windows.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.Xml.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.Xml.Linq.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Xml.ReaderWriter\4.0.10\ref\dotnet\System.Xml.ReaderWriter.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\Microsoft.NETCore.Portable.Compatibility\1.0.0\ref\netcore50\System.Xml.Serialization.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Xml.XDocument\4.0.10\ref\dotnet\System.Xml.XDocument.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Xml.XmlDocument\4.0.0\ref\dotnet\System.Xml.XmlDocument.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
CSC : error CS0006: Metadata file 'C:\WINDOWS\system32\config\systemprofile\.nuget\packages\System.Xml.XmlSerializer\4.0.10\ref\dotnet\System.Xml.XmlSerializer.dll' could not be found [C:\Users\ITH-143\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin\JenkinsWin.csproj] 
Build step 'Windows PowerShell' marked build as failure 
Finished: FAILURE 

Visual Studioのバージョン: のMicrosoft Visual Studioのエンタープライズ2015 バージョン14.0.25431.01アップデート3 は、Microsoft .NET Framework バージョン4.6.01586 インストール済みバージョン:エンタープライズ

対象:ユニバーサルのWindows

対象バージョン:Windowsの10(10.0;ビルド・10586)

分のバージョン:Windows 10(10.0; 10240の構築)が

答えて

1

同じエラー、私はそれがローカルシステム権限で実行されたMSBuildの実行可能ファイルへの調停者だということをどこかで読ん、あなたが管理者権限で試すことができます?

+0

私は現地でJenkinsをインストールして同じ問題を抱えています。私はJenkins特権を変更し、ビルド - > Succededを開始しました。 – BitFlow

+1

管理者特権の操作方法は? –

+0

私の管理上の問題ではなかった、ファイルが見つからなかった、私はドットネットプラグインのインストールをお勧めしますhttps://plugins.jetbrains.com/plugin/9190?pr = teamcityを開き、プロジェクトの前に 'dotnet restore'を実行します – tofutim

関連する問題