首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >CSC :错误CS0006:在使用Jenkins生成UWP包时无法找到元数据文件

CSC :错误CS0006:在使用Jenkins生成UWP包时无法找到元数据文件
EN

Stack Overflow用户
提问于 2016-10-19 09:51:42
回答 1查看 1.9K关注 0票数 2

我遵循这个博客,使用Jenkins 10应用程序自动生成应用程序包。稍后,我也将使用相同的Windows8.1应用程序。但是我在构建包时被困住了,并在Jenkins控制台中给出了以下错误。

FYI:我通常可以从Visual生成包。

在Jenkins中,我的Windows批处理命令是:

C:\Users\PC-Name.nuget\nuget\nuget.exe还原“C:\Users\PC-Name\2015\Projects\JenkinsWin\JenkinsWin.sln\visual studio 2015\Projects\JenkinsWin\JenkinsWin.sln”-ConfigFile -NoCache

Windows Powershell命令是:

$msbuild = "C:\Program (x86)\MSBuild\14.0\bin\MSBuild.exe“ 集合别名msbuild $msbuild $sln_name = "C:\Users\PC-Name\Documents\visual studio 2015\Projects\JenkinsWin\JenkinsWin.sln“ $vs_config =“释放” $vs_platfom = "ARM“ 写-主机“建筑解决方案”-foregroundcolor绿色 msbuild $sln_name /t:Build /p:Configuration=$vs_config /p:Platform=$vs_platfom /v:q /nologo

以下是控制台中的错误:

代码语言:javascript
运行
复制
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版本:MicrosoftVisualStudioEnterprise2015版本14.0.25431.01更新3微软.NET框架版本4.6.01586安装版本:企业

目标:通用Windows

目标版本:Windows 10 (10.0;Build 10586)

最小版本: Windows 10 (10.0;Build 10240)

EN

回答 1

Stack Overflow用户

发布于 2016-10-28 14:03:14

同样的错误,我在某个地方读到,它是在本地系统特权下执行的MSBuild可执行文件的关联器,您可以尝试在管理权限下执行吗?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40127897

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档