95992828九五至尊2

net自动化编写翻译环境,Infopath表单错误

三月 15th, 2019  |  882828九五至尊手机版

        
我们明白在Windows上我们很不难创设于MSBuild的自动化编写翻译环境,那么在CentOS也是能够的,首要是索要Mono。
在此刻我们挑选Jenkins+Gitlab+Mono在CentOS
6.5营造的条件。

深夜布置了1个Infopath表单,里面富含了自定义代码,需求去拜访webservice。铺排到SharePoint的时候,出现下边这一大串错误。当时须臾间从未有过找到原因。回来仔细想了想,居然便是因为从没在增选中安装”完全信任”导致的。惨痛啊,真是令人抓狂的Infopath,不知底哪一天就冒出来2个难点就能让您搞半天

1. 安装 Jenkins    
Jenkins,在此之前叫做赫德森,是基于Java开发的一种持续集成工具,用于监控持续重复的工作,包蕴:持续的软件版本发表/测试项目。
监察和控制外部调用执行的做事。
在CentOS中安装:

882828九五至尊手机版 1

sudo wget -O /etc/yum.repos.d/jenkins.repo
http://pkg.jenkins-ci.org/redhat/jenkins.repo

sudo rpm –import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key

sudo yum install jenkins

======================================================================================================================================

2.  安装 Mono 3.10      
Mono是二个转业于开创.NET在Linux上选择的开源工程。它包罗了贰个C#语言的编写翻译器,三个CL兰德奥迪Q7的运营时,和一组类库,并贯彻了
ADO NET和ASP NET。该品种的对象是开创一多级符合标准ECMA
(Ecma-334和Ecma-335)的.Net 工具, 包罗C #编写翻译器和共同语言(CL 即 Common
Language)执行平台(Platform).与微软的.Net不一样,
Mono项目非但可以运作于Windows系统内,仍是能够运营于Linux, FreeBSD, Unix,
Mac OS X和Solaris。

呼吁“Microsoft.SharePoint.Security.SharePointPermission,
Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c”类型的权柄已破产。

2.1 安装Mono需要的GDI+兼容API的库Libgdiplus

System.Security.SecurityException:
请求“Microsoft.SharePoint.Security.SharePointPermission,
Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c”类型的权力已破产。

System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly
asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle
rmh, SecurityAction action, Object demand, IPermission permThatFailed)

System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object
assemblyOrString, PermissionSet granted, PermissionSet refused,
RuntimeMethodHandle rmh, SecurityAction action, Object demand,
IPermission permThatFailed)
在 System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet
grants, PermissionSet refused, PermissionSet demands,
RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action,
Boolean throwException)

System.Security.CodeAccessSecurityEngine.CheckSetHelper(CompressedStack
cs, PermissionSet grants, PermissionSet refused, PermissionSet demands,
RuntimeMethodHandle rmh, Assembly asm, SecurityAction action)
在 请假单.FormCode.FormEvents_Loading(Object sender, LoadingEventArgs
e)

Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.<>c__DisplayClass6.<>c__DisplayClass8.<add_Loading>b__1()

Microsoft.Office.InfoPath.Server.Util.DocumentReliability.InvokeBusinessLogic(Thunk
thunk)

Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.<>c__DisplayClass6.<add_Loading>b__0(Object
sender, LoadingEventArgs e)

Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.<>c__DisplayClass34.<FireLoadingEvent>b__30()

Microsoft.Office.InfoPath.Server.DocumentLifetime.OMExceptionManager.CallFormCodeWithExceptionHandling(UserMessages
userMessages, OMCall d)

Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.FireLoadingEvent(Document
document, Dictionary`2 inputParameters)

Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.PerformOnLoadEvent(Dictionary`2
intputParameters)

Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.LoadSolutionAndDocument(HttpContext
context, Solution solution, DocumentMetaInformation
documentMetaInformation, OnInitializeCallback onInitializeCallback,
OpenParameters openParameters)

Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.OpenDocumentWithSolution(HttpContext
context, SPSite contextSite, Solution solution, DocumentMetaInformation
documentMetaInformation, OnInitializeCallback onInitializeCallback,
OpenParameters openParameters)

Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.NewFromSolution(HttpContext
context, SPSite contextSite, Solution solution, DocumentMetaInformation
documentMetaInformation, Boolean disableFirstRequestOptization,
OnInitializeCallback onInitializeCallback, OpenParameters
openParameters)

Microsoft.Office.InfoPath.Server.Controls.XmlFormView.DataBindInternal(SolutionMetaInformation
solutionMetaInformation, DocumentMetaInformation
documentMetaInformation, String absoluteSolutionLocation, Boolean
hasCloseHandler, Document& document)

Microsoft.Office.InfoPath.Server.Controls.FormServerPage.InitializeRenderInLine(SolutionMetaInformation
solutionMetaInformation, DocumentMetaInformation
documentMetaInformation, String absoluteSolutionLocation)

Microsoft.Office.InfoPath.Server.Controls.FormServerPage.NewEditingSession(SPSite
contextSite, FormServerPageQueryParameters queryParameters)

Microsoft.Office.InfoPath.Server.Controls.XmlFormView.StartNewEditingSession()

Microsoft.Office.InfoPath.Server.Controls.XmlFormView.EnsureDocument(EventLogStart
eventLogStart)

Microsoft.Office.InfoPath.Server.Controls.XmlFormView.<>c__DisplayClass3.<LoadDocumentAndPlayEventLog>b__1()

Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean
fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock
catchBlock, FinallyBlock finallyBlock)
挫折的操作是:
LinkDemand
战败的率先个权力的项目是:
Microsoft.SharePoint.Security.SharePointPermission
未果的率先个权力是:
<IPermission
class=”Microsoft.SharePoint.Security.SharePointPermission,
Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c”
version=”1″
ObjectModel=”True”/>

cd /usr/local/src/

wget
http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2

tar -jxvf libgdiplus-2.10.tar.bz2

cd libgdiplus-2.10

./configure –prefix=/usr

make

make install

该请求用于:
<PermissionSet class=”System.Security.PermissionSet”
version=”1″>
<IPermission
class=”Microsoft.SharePoint.Security.SharePointPermission,
Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c”
version=”1″
ObjectModel=”True”/>
</PermissionSet>

2.2 源码安装Mono 3.10

被给予的破产程序集的聚合为:
<PermissionSet class=”System.Security.PermissionSet”
version=”1″>
<IPermission
class=”System.Security.Permissions.EnvironmentPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″
version=”1″
Read=”USERNAME”/>
<IPermission class=”System.Security.Permissions.FileDialogPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089″
version=”1″
Unrestricted=”true”/>
<IPermission class=”System.Security.Permissions.FileIOPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089″
version=”1″
Read=”C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\12\Template\Features\FT-01-7da54b18-1403-6b98-5184-cf8ae8182fa7\solution.xsn.1.0.0.11.1.0.0.11\”
PathDiscovery=”C:\Program Files\Common Files\Microsoft Shared\Web
Server
Extensions\12\Template\Features\882828九五至尊手机版,FT-01-7da54b18-1403-6b98-5184-cf8ae8182fa7\solution.xsn.1.0.0.11.1.0.0.11\”/>
<IPermission
class=”System.Security.Permissions.IsolatedStorageFilePermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089″
version=”1″
Allowed=”AssemblyIsolationByUser”
UserQuota=”9223372036854775807″
Expiry=”9223372036854775807″
Permanent=”True”/>
<IPermission class=”System.Security.Permissions.ReflectionPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089″
version=”1″
Flags=”ReflectionEmit”/>
<IPermission class=”System.Security.Permissions.SecurityPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089″
version=”1″
Flags=”Assertion, Execution, BindingRedirects”/>
<IPermission class=”System.Security.Permissions.UIPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089″
version=”1″
Unrestricted=”true”/>
<IPermission
class=”System.Security.Permissions.StrongNameIdentityPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089″
version=”1″
PublicKeyBlob=”0024000004800000940000000602000000240000525341310004000001000100EF2997493CA56265D1A61D7239C4EE0B1CF4920BA51935B70987008905A5D248E00913F5F0A297EC7564105A1A6BF683D2AF0D19AA7CA285303A7F7D12ADACD26E5D3A5BA41C7AA15F72737AE265FE43E2FE9928E5973D8539EE14A72298915F88DBDF4759B500B3FA08C74B04A1BB7B00659518D59AAF04E6AB5E6E3BA418A8″
Name=”___”
AssemblyVersion=”1.0.3283.36267″/>
<IPermission
class=”System.Security.Permissions.UrlIdentityPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″
version=”1″
Url=”file:///C:/Program Files/Common Files/Microsoft Shared/Web Server
Extensions/12/Template/Features/FT-01-7da54b18-1403-6b98-5184-cf8ae8182fa7/solution.xsn.1.0.0.11.1.0.0.11/___.dll”/>
<IPermission
class=”System.Security.Permissions.ZoneIdentityPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″
version=”1″
Zone=”Intranet”/>
<IPermission class=”System.Net.DnsPermission, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″
version=”1″
Unrestricted=”true”/>
<IPermission class=”System.Drawing.Printing.PrintingPermission,
System.Drawing, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a”
version=”1″
Level=”DefaultPrinting”/>
<IPermission class=”System.Security.Permissions.MediaPermission,
WindowsBase, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35″
version=”1″
Audio=”SafeAudio”
Video=”SafeVideo”
Image=”SafeImage”/>
<IPermission class=”System.Security.Permissions.WebBrowserPermission,
WindowsBase, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35″
version=”1″
Level=”Safe”/>
</PermissionSet>

cd /usr/local/src/

wget
http://origin-download.mono-project.com/sources/mono/mono-3.10.0.tar.bz2

tar -jxvf mono-3.10.0.tar.bz2

cd mono-3.10.0

./configure –prefix=/usr

make

make install

未果的顺序集或 AppDomain 是:
___, Version=1.0.3283.36267, Culture=neutral,
PublicKeyToken=1739f43caf0ddcd4
挫折的次序集的区域是:
Intranet
退步的程序集的 Url 是:
file:///C:/Program Files/Common Files/Microsoft Shared/Web Server
Extensions/12/Template/Features/FT-01-7da54b18-1403-6b98-5184-cf8ae8182fa7/solution.xsn.1.0.0.11.1.0.0.11/___.dll

输入 mono -V 如有mono版本新闻,则设置成功.

3. 安装GitLab GitLab
是三个用以仓库管理种类的开源项目。使用Git作为代码管理工科具,并在此基础上搭建起来的web服务。
在这时为了有利于, 选拔bitnami的合一好VM版GitLab,运营于Ubuntu 14.04

Gitlab VM

本来你也足以
在CentOS中手工业安装GitLab,还可参考GitLab版本管理
Tips: Jenkins服务器与GitLab能够分别安排

4.  安装Jenkins 的插件

https://wiki.jenkins-ci.org/display/JENKINS/SCM+API+Plugin

https://wiki.jenkins-ci.org/display/JENKINS/MSTest+Plugin

https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin

https://wiki.jenkins-ci.org/display/JENKINS/MSBuild+Plugin

https://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin

https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin

5. 在shell中举行,导入如下证书:

$ sudo mozroots –import –machine –sync
$ sudo certmgr -ssl -m https://go.microsoft.com
$ sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net
$ sudo certmgr -ssl -m https://nuget.org

为避免

  Nuget with mono getting response stream (Write: The authentication
or decryption has failed.): SendFailure

 

布署NuGet自动回复
出于今后.net
的体系与化解方案都以行使NuGet来管理重视了。同时在VS的门类中大家供给打开

882828九五至尊手机版 2

在类型中追加新型的NuGet.target
NuGet.exe

配置

Jenkins项目布局

882828九五至尊手机版 3

配置GIT Jenkins插件

882828九五至尊手机版 4

支持SSH

882828九五至尊手机版 5

或用户名:

882828九五至尊手机版 6

充实营造脚本触发器

882828九五至尊手机版 7

例如 下面的URL

http://10.1.1.36/jenkins/job/SouthAsiaDH/build?token=gitlab

使用Execute shell 来执行 xbuild

882828九五至尊手机版 8

因为Linux下是分别轻重缓急写的,最好使用

MONO_IOMAP=case xbuild ConsoleApplication1.sln

充实对应 单元测试 插件

882828九五至尊手机版 9

让GitLab 触发 Jenkins 机关编写翻译

在Gitlab中对应的品类设置 webhook,如以下UMuranoL

http://10.1.1.36/jenkins/job/SouthAsiaDH/build?token=gitlab

882828九五至尊手机版 10

终极在控制台看到编写翻译后的有个别项指标出口

Started by user peterliu

Building in workspace /var/lib/jenkins/jobs/myTestApp/workspace

> git rev-parse –is-inside-work-tree # timeout=10

Fetching changes from the remote Git repository

> git config remote.origin.url
http://10.1.1.19/liujunyuan/mytestapp.git # timeout=10

Fetching upstream changes from
http://10.1.1.19/liujunyuan/mytestapp.git

> git –version # timeout=10

> git fetch –tags –progress
http://10.1.1.19/liujunyuan/mytestapp.git
+refs/heads/*:refs/remotes/origin/*

> git rev-parse refs/remotes/origin/master^{commit} # timeout=10

> git rev-parse refs/remotes/origin/origin/master^{commit} #
timeout=10

Checking out Revision 600a7fba4db9b5ed77950b0b7d33230df1a93871
(refs/remotes/origin/master)

> git config core.sparsecheckout # timeout=10

> git checkout -f 600a7fba4db9b5ed77950b0b7d33230df1a93871

> git rev-list 600a7fba4db9b5ed77950b0b7d33230df1a93871 # timeout=10

[workspace] $ /bin/sh -xe /tmp/hudson1613431576788571686.sh

+ xbuild ConsoleApplication1.sln

XBuild Engine Version 3.2.1.0

Mono, Version 3.2.1.0

Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.

Build started 12/6/2014 12:33:31 AM.

__________________________________________________

Project
“/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln”
(default target(s)):

Target ValidateSolutionConfiguration:

Building solution configuration “Debug|Any CPU”.

Target Build:

Project
“/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1/ConsoleApplication1.csproj”
(default target(s)):

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1/ConsoleApplication1.csproj:
warning : Project has unknown ToolsVersion ‘12.0’. Using the default
tools version ‘2.0’ instead.

Target PrepareForBuild:

Configuration: Debug Platform: AnyCPU

Target GetFrameworkPaths:

/usr/lib/mono/2.0/Microsoft.Common.targets: warning :
TargetFrameworkVersion ‘v4.5’ not supported by this toolset
(ToolsVersion: 2.0).

Target GenerateSatelliteAssemblies:

No input files were specified for target GenerateSatelliteAssemblies,
skipping.

Target CoreCompile:

Skipping target “CoreCompile” because its outputs are up-to-date.

Target _CopyAppConfigFile:

Skipping target “_CopyAppConfigFile” because its outputs are
up-to-date.

Done building project
“/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1/ConsoleApplication1.csproj”.

Project
“/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/xUnitTestProject.csproj”
(default target(s)):

/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/xUnitTestProject.csproj:
warning : Project has unknown ToolsVersion ‘12.0’. Using the default
tools version ‘2.0’ instead.

Target PrepareForBuild:

Configuration: Debug Platform: AnyCPU

Target GetFrameworkPaths:

/usr/lib/mono/2.0/Microsoft.Common.targets: warning :
TargetFrameworkVersion ‘v4.5’ not supported by this toolset
(ToolsVersion: 2.0).

Target RestorePackages:

Executing: mono –runtime=v4.0.30319
/var/lib/jenkins/jobs/myTestApp/workspace/.nuget/NuGet.exe install
“packages.config” -source “” -RequireConsent -o
“/var/lib/jenkins/jobs/myTestApp/workspace/packages”

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’.

Target ResolveAssemblyReferences:

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

For searchpath
/var/lib/jenkins/jobs/myTestApp/workspace/packages/xunit.1.9.2/lib/net20

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/xunit.1.9.2/lib/net20/mscorlib’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/xunit.1.9.2/lib/net20/mscorlib.exe’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/xunit.1.9.2/lib/net20/mscorlib.dll’
as a file, but the file does not exist

For searchpath {CandidateAssemblyFiles}

Warning: {CandidateAssemblyFiles} not supported currently

For searchpath {HintPathFromItem}

HintPath attribute not found

For searchpath {TargetFrameworkDirectory}

For searchpath {PkgConfig}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in any pkg-config
files.

For searchpath {GAC}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in the GAC.

For searchpath {RawFileName}

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ as a
file, but the file does not exist

For searchpath bin/Debug/

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/bin/Debug/mscorlib’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/bin/Debug/mscorlib.exe’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/bin/Debug/mscorlib.dll’
as a file, but the file does not exist

Target GenerateSatelliteAssemblies:

No input files were specified for target GenerateSatelliteAssemblies,
skipping.

Target CoreCompile:

Skipping target “CoreCompile” because its outputs are up-to-date.

Done building project
“/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/xUnitTestProject.csproj”.

Project
“/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/MbUnitTest.csproj”
(default target(s)):

/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/MbUnitTest.csproj:
warning : Project has unknown ToolsVersion ‘12.0’. Using the default
tools version ‘2.0’ instead.

Target PrepareForBuild:

Configuration: Debug Platform: AnyCPU

Target GetFrameworkPaths:

/usr/lib/mono/2.0/Microsoft.Common.targets: warning :
TargetFrameworkVersion ‘v4.5’ not supported by this toolset
(ToolsVersion: 2.0).

Target RestorePackages:

Executing: mono –runtime=v4.0.30319
/var/lib/jenkins/jobs/myTestApp/workspace/.nuget/NuGet.exe install
“packages.config” -source “” -RequireConsent -o
“/var/lib/jenkins/jobs/myTestApp/workspace/packages”

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’.

Target ResolveAssemblyReferences:

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

For searchpath
/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40/mscorlib’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40/mscorlib.exe’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40/mscorlib.dll’
as a file, but the file does not exist

For searchpath {CandidateAssemblyFiles}

Warning: {CandidateAssemblyFiles} not supported currently

For searchpath /Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages

Considered ‘/Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages/mscorlib’ as a file, but the
file does not exist

Considered ‘/Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages/mscorlib.exe’ as a file, but
the file does not exist

Considered ‘/Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages/mscorlib.dll’ as a file, but
the file does not exist

For searchpath {HintPathFromItem}

HintPath attribute not found

For searchpath {TargetFrameworkDirectory}

For searchpath {PkgConfig}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in any pkg-config
files.

For searchpath {GAC}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in the GAC.

For searchpath {RawFileName}

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ as a
file, but the file does not exist

For searchpath bin/Debug/

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/bin/Debug/mscorlib’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/bin/Debug/mscorlib.exe’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/bin/Debug/mscorlib.dll’
as a file, but the file does not exist

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

For searchpath
/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40

For searchpath {CandidateAssemblyFiles}

Warning: {CandidateAssemblyFiles} not supported currently

For searchpath /Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages

For searchpath {HintPathFromItem}

HintPath attribute not found

For searchpath {TargetFrameworkDirectory}

For searchpath {PkgConfig}

Considered mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in any pkg-config
files.

For searchpath {GAC}

Considered mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in the GAC.

For searchpath {RawFileName}

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ as a
file, but the file does not exist

For searchpath bin/Debug/

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘Gallio.GenericParsing, Version=1.1.1.13829, Culture=neutral,
PublicKeyToken=e3951cb1f39764e6’ not resolved

For searchpath
/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40/Gallio.GenericParsing’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40/Gallio.GenericParsing.exe’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40/Gallio.GenericParsing.dll’
as a file, but the file does not exist

For searchpath {CandidateAssemblyFiles}

Warning: {CandidateAssemblyFiles} not supported currently

For searchpath /Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages

Considered ‘/Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages/Gallio.GenericParsing’ as a
file, but the file does not exist

Considered ‘/Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages/Gallio.GenericParsing.exe’ as a
file, but the file does not exist

Considered ‘/Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages/Gallio.GenericParsing.dll’ as a
file, but the file does not exist

For searchpath {HintPathFromItem}

HintPath attribute not found

For searchpath {TargetFrameworkDirectory}

For searchpath {PkgConfig}

Considered Gallio.GenericParsing, Version=1.1.1.13829, Culture=neutral,
PublicKeyToken=e3951cb1f39764e6, but could not find in any pkg-config
files.

For searchpath {GAC}

Considered Gallio.GenericParsing, Version=1.1.1.13829, Culture=neutral,
PublicKeyToken=e3951cb1f39764e6, but could not find in the GAC.

For searchpath {RawFileName}

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/Gallio.GenericParsing,
Version=1.1.1.13829, Culture=neutral, PublicKeyToken=e3951cb1f39764e6’
as a file, but the file does not exist

For searchpath bin/Debug/

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/bin/Debug/Gallio.GenericParsing’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/bin/Debug/Gallio.GenericParsing.exe’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/bin/Debug/Gallio.GenericParsing.dll’
as a file, but the file does not exist

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

For searchpath
/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40

For searchpath {CandidateAssemblyFiles}

Warning: {CandidateAssemblyFiles} not supported currently

For searchpath /Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages

For searchpath {HintPathFromItem}

HintPath attribute not found

For searchpath {TargetFrameworkDirectory}

For searchpath {PkgConfig}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in any pkg-config
files.

For searchpath {GAC}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in the GAC.

For searchpath {RawFileName}

For searchpath bin/Debug/

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

For searchpath
/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40

For searchpath {CandidateAssemblyFiles}

Warning: {CandidateAssemblyFiles} not supported currently

For searchpath /Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages

For searchpath {HintPathFromItem}

HintPath attribute not found

For searchpath {TargetFrameworkDirectory}

For searchpath {PkgConfig}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in any pkg-config
files.

For searchpath {GAC}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in the GAC.

For searchpath {RawFileName}

For searchpath bin/Debug/

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘NHamcrest, Version=1.2.1.0, Culture=neutral,
PublicKeyToken=31c3ea0b6fcf8c4a’ not resolved

For searchpath
/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40/NHamcrest’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40/NHamcrest.exe’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40/NHamcrest.dll’
as a file, but the file does not exist

For searchpath {CandidateAssemblyFiles}

Warning: {CandidateAssemblyFiles} not supported currently

For searchpath /Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages

Considered ‘/Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages/NHamcrest’ as a file, but the
file does not exist

Considered ‘/Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages/NHamcrest.exe’ as a file, but
the file does not exist

Considered ‘/Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages/NHamcrest.dll’ as a file, but
the file does not exist

For searchpath {HintPathFromItem}

HintPath attribute not found

For searchpath {TargetFrameworkDirectory}

For searchpath {PkgConfig}

Considered NHamcrest, Version=1.2.1.0, Culture=neutral,
PublicKeyToken=31c3ea0b6fcf8c4a, but could not find in any pkg-config
files.

For searchpath {GAC}

Considered NHamcrest, Version=1.2.1.0, Culture=neutral,
PublicKeyToken=31c3ea0b6fcf8c4a, but could not find in the GAC.

For searchpath {RawFileName}

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/NHamcrest,
Version=1.2.1.0, Culture=neutral, PublicKeyToken=31c3ea0b6fcf8c4a’ as a
file, but the file does not exist

For searchpath bin/Debug/

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/bin/Debug/NHamcrest’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/bin/Debug/NHamcrest.exe’
as a file, but the file does not exist

Considered
‘/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/bin/Debug/NHamcrest.dll’
as a file, but the file does not exist

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

For searchpath
/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40

For searchpath {CandidateAssemblyFiles}

Warning: {CandidateAssemblyFiles} not supported currently

For searchpath /Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages

For searchpath {HintPathFromItem}

HintPath attribute not found

For searchpath {TargetFrameworkDirectory}

For searchpath {PkgConfig}

Considered mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in any pkg-config
files.

For searchpath {GAC}

Considered mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in the GAC.

For searchpath {RawFileName}

For searchpath bin/Debug/

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

For searchpath
/var/lib/jenkins/jobs/myTestApp/workspace/packages/mbunit.3.4.14.0/lib/net40

For searchpath {CandidateAssemblyFiles}

Warning: {CandidateAssemblyFiles} not supported currently

For searchpath /Common Files/microsoft
shared/VSTT/10.0/UITestExtensionPackages

For searchpath {HintPathFromItem}

HintPath attribute not found

For searchpath {TargetFrameworkDirectory}

For searchpath {PkgConfig}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in any pkg-config
files.

For searchpath {GAC}

Considered mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, but could not find in the GAC.

For searchpath {RawFileName}

For searchpath bin/Debug/

Target GenerateSatelliteAssemblies:

No input files were specified for target GenerateSatelliteAssemblies,
skipping.

Target CoreCompile:

Skipping target “CoreCompile” because its outputs are up-to-date.

Done building project
“/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/MbUnitTest.csproj”.

Done building project
“/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln”.

Build succeeded.

Warnings:

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln
(default targets) ->

(Build target) ->

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1/ConsoleApplication1.csproj
(default targets) ->

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1/ConsoleApplication1.csproj:
warning : Project has unknown ToolsVersion ‘12.0’. Using the default
tools version ‘2.0’ instead.

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln
(default targets) ->

(Build target) ->

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1/ConsoleApplication1.csproj
(default targets) ->

/usr/lib/mono/2.0/Microsoft.Common.targets (GetFrameworkPaths target)
->

/usr/lib/mono/2.0/Microsoft.Common.targets: warning :
TargetFrameworkVersion ‘v4.5’ not supported by this toolset
(ToolsVersion: 2.0).

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln
(default targets) ->

(Build target) ->

/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/xUnitTestProject.csproj
(default targets) ->

/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/xUnitTestProject.csproj:
warning : Project has unknown ToolsVersion ‘12.0’. Using the default
tools version ‘2.0’ instead.

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln
(default targets) ->

(Build target) ->

/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/xUnitTestProject.csproj
(default targets) ->

/usr/lib/mono/2.0/Microsoft.Common.targets (GetFrameworkPaths target)
->

/usr/lib/mono/2.0/Microsoft.Common.targets: warning :
TargetFrameworkVersion ‘v4.5’ not supported by this toolset
(ToolsVersion: 2.0).

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln
(default targets) ->

(Build target) ->

/var/lib/jenkins/jobs/myTestApp/workspace/xUnitTestProject/xUnitTestProject.csproj
(default targets) ->

/usr/lib/mono/2.0/Microsoft.Common.targets (ResolveAssemblyReferences
target) ->

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln
(default targets) ->

(Build target) ->

/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/MbUnitTest.csproj
(default targets) ->

/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/MbUnitTest.csproj:
warning : Project has unknown ToolsVersion ‘12.0’. Using the default
tools version ‘2.0’ instead.

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln
(default targets) ->

(Build target) ->

/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/MbUnitTest.csproj
(default targets) ->

/usr/lib/mono/2.0/Microsoft.Common.targets (GetFrameworkPaths target)
->

/usr/lib/mono/2.0/Microsoft.Common.targets: warning :
TargetFrameworkVersion ‘v4.5’ not supported by this toolset
(ToolsVersion: 2.0).

/var/lib/jenkins/jobs/myTestApp/workspace/ConsoleApplication1.sln
(default targets) ->

(Build target) ->

/var/lib/jenkins/jobs/myTestApp/workspace/MSUnitTest/MbUnitTest.csproj
(default targets) ->

/usr/lib/mono/2.0/Microsoft.Common.targets (ResolveAssemblyReferences
target) ->

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘Gallio.GenericParsing, Version=1.1.1.13829, Culture=neutral,
PublicKeyToken=e3951cb1f39764e6’ not resolved

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘NHamcrest, Version=1.2.1.0, Culture=neutral,
PublicKeyToken=31c3ea0b6fcf8c4a’ not resolved

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

/usr/lib/mono/2.0/Microsoft.Common.targets: warning : Reference
‘mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089’ not resolved

15 Warning(s)

0 Error(s)

Time Elapsed 00:00:01.1224900

[xUnit] [INFO] – Starting to record.

[xUnit] [INFO] – Processing MbUnit-2.4 (default)

[xUnit] [INFO] – There are errors when processing test results.

[xUnit] [INFO] – Skipping tests recording.

Finished: SUCCESS

 

盼望对你营造软件开发环境有协理。

你大概感兴趣的小说:

GitLab版本管理
自动化测试
软件开发的专业化

如有想打听愈多软件,系统 IT,集团音信化 资源音讯,请关心自个儿的微信订阅号:

882828九五至尊手机版 11

作者:Petter Liu
出处:http://www.cnblogs.com/wintersun/
正文版权归小编和微博共有,欢迎转发,但未经作者同意必须保留此段注明,且在篇章页面明显地方给出原著连接,不然保留追究法律义务的权利。
该小说也还要发布在自小编的单身博客中-Petter Liu
Blog

相关文章

Your Comments

近期评论

    功能


    网站地图xml地图