我正在嘗試爲BizTalk 2010項目設置生成服務器。我只安裝了BTS 2010 Enterprise的「Project Build Component」部分。但是,在嘗試編譯解決方案時出現以下錯誤:MSBuild與BizTalk失敗
C:\ Program Files(x86)\ MSBuild \ Microsoft \ BizTalk \ BizTalkCommon.targets(115,9):error MSB4018:System.IO。 FileNotFoundException:無法加載文件或程序集'Microsoft.VisualStudio.OLE.Interop,Version = 7.1.40304.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'或其某個依賴項。該系統找不到指定的文件。 C:\ Program Files(x86)\ MSBuild \ Microsoft \ CCC \ BizTalk \ BizTalkCommon.targets(115,9):錯誤MSB4018:文件名:'Microsoft.VisualStudio.OLE.Interop,Version = 7.1.40304.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'[C:\ CCNetBuild \ FlexTMS.TLAutoTender。 BizTalk \ Trunk \ Echo.BAS.TLAutoTender.Internal.Maps \ Echo.BAS.TLAutoTender.Internal.Maps.btproj] C:\ Program Files(x86)\ MSBuild \ Microsoft \ BizTalk \ BizTalkCommon.targets(115,9) :錯誤MSB4018:在Microsoft.VisualStudio.BizTalkProject.Compiler.MapCompiler.Compile(BizTalkBuildSnapshot buildSnapshot,IEnumerable 1 mapFilesToCompile, IEnumerable
1 schemaFiles,List xsltFiles)[C:\ CCNetBuild \ FlexTMS.TLAutoTender.BizTalk \ Trunk \ Echo.BAS.TLAutoTender .Internal.Maps \ Echo.BAS.TLAutoTender.Internal.Maps.btpro j] C:\ Program Files(x86)\ MSBuild \ Microsoft \ BizTalk \ BizTalkCommon.targets(115,9):error MSB4018:at Microsoft.VisualStudio.BizTalkProject.BuildTasks.MapperCompiler.Execute()[C:\ CCNetBuild \ FlexTMS.TLAutoTender.BizTalk \ Trunk \ Echo.BAS.TLAutoTender.Internal.Maps \ Echo.BAS.TLAutoTender.Internal.Maps.btproj] C:\ Program Files(x86)\ MSBuild \ Microsoft \ BizTalk \ BizTalkCommon.targets( 115,9):錯誤MSB4018:在Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()[C:\ CCNetBuild \ FlexTMS.TLAutoTender.BizTalk \ Trunk \ Echo.BAS.TLAutoTender.Internal。 Maps \ Echo.BAS.TLAutoTender.Internal.Maps.btproj] C:\ Program Files(x86)\ MSBuild \ Microsoft \ BizTalk \ BizTalkCommon.targets(115,9):error MSB4018:at Microsoft.Build.BackEnd.TaskBuilder .ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost,TaskLoggingContext taskLoggingContext,TaskHost taskHost,ItemBucket存儲桶,TaskEx ecutionMode howToExecuteTask,布爾& taskResult)[C:\ CCNetBuild \ FlexTMS.TLAutoTender.BizTalk \中繼線\ Echo.BAS.TLAutoTender.Internal.Maps \ Echo.BAS.TLAutoTender.Internal.Maps.btproj]
此錯誤品牌沒有意義。我的理解是Visual Studio不再需要構建組件。