无法使用MSBuild构建BizTalk业务流程

时间:2011-05-05 14:45:06

标签: msbuild cruisecontrol.net biztalk

我有一个BizTalk 2010项目,我试图通过Cruise Control .NET构建。奇怪的是它在XLangTask中遇到了CompileODX目标的问题。我可以通过命令行上的MSBuild.exe编译,当我的帐户运行Cruise Control时。但是,当Cruise Control作为指定的服务帐户运行时,它会失败。服务帐户对包含引用的目录的父级具有完全控制权(我只有读取/执行)。服务帐户是运行Cruise Control服务的盒子上的本地管理员,并且已重新启动。

我在目标中添加了一些日志记录,以便将参数输出到XLangTask任务以及错误。

 [exec] CompileODX:
 [exec]   XLangItems = CarrierSolicitProcess.odx
 [exec]   ProjectReferences = C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.External.Maps\bin\Release\Echo.BAS.TLAutoTender.External.Maps.dll;C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.External.Schemas\bin\Release\Echo.BAS.TLAutoTender.External.Schemas.dll;C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Internal.Maps\bin\Release\Echo.BAS.TLAutoTender.Internal.Maps.dll;C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Internal.Schemas\bin\Release\Echo.BAS.TLAutoTender.Internal.Schemas.dll;\\hq.echogl.net\files\Development\Release\Assemblies\Echo.Enterprise.BizTalk.FederatedEventingPortTypes\Implementations\Trunk\Echo.Enterprise.BizTalk.FederatedEventingPortTypes.dll;\\hq.echogl.net\files\Development\Release\Assemblies\Echo.Enterprise.FederatedMessaging\Implementations\Trunk\Echo.Enterprise.FederatedMessaging.dll;\\hq.echogl.net\files\Development\Release\Assemblies\Echo.Enterprise.FederatedMessaging.EventSchemas\Implementations\HEAD\Echo.Enterprise.FederatedMessaging.EventSchemas.dll;\\hq.echogl.net\files\Development\Release\Assemblies\Echo.Enterprise.Framework\Implementations\Trunk\Echo.Enterprise.Framework.dll;\\hq.echogl.net\files\Development\Release\Assemblies\Echo.USS.BizTalkEdiSchemas.CorrelationProperties\Implementations\HEAD\Echo.USS.BizTalkEdiSchemas.CorrelationProperties.dll;C:\Windows\assembly\GAC_MSIL\Microsoft.BizTalk.DefaultPipelines\3.0.1.0__31bf3856ad364e35\Microsoft.BizTalk.DefaultPipelines.dll;C:\Windows\assembly\GAC_MSIL\Microsoft.BizTalk.GlobalPropertySchemas\3.0.1.0__31bf3856ad364e35\Microsoft.BizTalk.GlobalPropertySchemas.dll;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\Microsoft.BizTalk.Pipeline.dll;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\Microsoft.BizTalk.TestTools.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Configuration.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll;C:\Program Files (x86)\Microsoft BizTalk Server 2010\Microsoft.XLANGs.BaseTypes.dll;C:\Program Files (x86)\Microsoft BizTalk Server 2010\Microsoft.XLANGs.RuntimeTypes.dll;C:\Program Files (x86)\Microsoft BizTalk Server 2010\Microsoft.BizTalk.Interop.Agent.dll;C:\Program Files (x86)\Microsoft BizTalk Server 2010\Microsoft.BizTalk.Messaging.dll;C:\Program Files (x86)\Microsoft BizTalk Server 2010\Microsoft.XLANGs.Engine.dll;C:\Program Files (x86)\Microsoft BizTalk Server 2010\Microsoft.XLANGs.BizTalk.Engine.dll;C:\Program Files (x86)\Common Files\Microsoft BizTalk\Microsoft.RuleEngine.dll;C:\Program Files (x86)\Microsoft BizTalk Server 2010\Microsoft.XLANGs.BizTalk.ProcessInterface.dll;C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Data.dll;C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.Services.dll;C:\Program Files (x86)\Common Files\Microsoft BizTalk\Microsoft.BizTalk.TOM.dll
 [exec]   WarningLevel = 4
 [exec]   BpelCompliance = True
 [exec]   DefineConstants = TRACE
 [exec]   TreatWarningsAsErrors = false
 [exec]   TempAssembly = obj\Release\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.ClrTypes.dll
 [exec]   OutputDirectory = obj\Release\BizTalk\XLang\
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(917,48): error X2186: identifier 'EnterpriseEventSchema' does not exist in 'Echo.Enterprise.FederatedMessaging'; are you missing an assembly reference? [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(917,48): error X2007: cannot find symbol 'Echo.Enterprise.FederatedMessaging.EnterpriseEventSchema' [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(917,13): error X2153: a porttype operation can only contain messagetypes or class types [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(924,48): error X2186: identifier 'EnterpriseEventSchema' does not exist in 'Echo.Enterprise.FederatedMessaging'; are you missing an assembly reference? [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(924,48): error X2007: cannot find symbol 'Echo.Enterprise.FederatedMessaging.EnterpriseEventSchema' [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(924,13): error X2153: a porttype operation can only contain messagetypes or class types [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(931,48): error X2186: identifier 'EnterpriseEventSchema' does not exist in 'Echo.Enterprise.FederatedMessaging'; are you missing an assembly reference? [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(931,48): error X2007: cannot find symbol 'Echo.Enterprise.FederatedMessaging.EnterpriseEventSchema' [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(931,13): error X2153: a porttype operation can only contain messagetypes or class types [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(938,48): error X2186: identifier 'EnterpriseEventSchema' does not exist in 'Echo.Enterprise.FederatedMessaging'; are you missing an assembly reference? [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(938,48): error X2007: cannot find symbol 'Echo.Enterprise.FederatedMessaging.EnterpriseEventSchema' [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(938,13): error X2153: a porttype operation can only contain messagetypes or class types [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(992,44): error X2186: identifier 'EventProperties' does not exist in 'Echo.Enterprise.FederatedMessaging'; are you missing an assembly reference? [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(992,44): error X2007: cannot find symbol 'Echo.Enterprise.FederatedMessaging.EventProperties.carrierId' [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(992,9): error X2166: a correlationtype can only contain message property references [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(992,106): error X2186: identifier 'EventProperties' does not exist in 'Echo.Enterprise.FederatedMessaging'; are you missing an assembly reference? [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(992,106): error X2007: cannot find symbol 'Echo.Enterprise.FederatedMessaging.EventProperties.operationContextId' [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(992,71): error X2166: a correlationtype can only contain message property references [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec] C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\CarrierSolicitProcess.odx(992,60): error X2166: a correlationtype can only contain message property references [C:\CCNetBuild\FlexTMS.TLAutoTender.BizTalk\Trunk\Echo.BAS.TLAutoTender.Processes.CarrierSolicit\Echo.BAS.TLAutoTender.Processes.CarrierSolicit.btproj]
 [exec]       : 'EventProperties.carrierId'

1 个答案:

答案 0 :(得分:0)

似乎构建过程无法找到您的EnterpriseEventSchema,是构建服务器上GAC中存在的此架构的dll吗?