[使用Microsoft Azure Logic Apps企业集成工具的MSBuild错误

问题描述 投票:0回答:1

我有一个由多个BizTalk btproj项目组成的解决方案。

我也有Microsoft Azure Logic Apps Enterprise Integration Tools for Visual Studio 2015 2.0 installed

当我使用Visual Studio 2015构建解决方案时,它会成功。如果使用MSBuild这样做,则会遇到以下错误:

C:\ Program Files(x86)\ MSBuild \ Microsoft \ Azure集成SDK \ IntegrationCommon.targets(29,5):错误MSB4018:“ MapperCompiler”任务意外失败。[C:\ Users \ User01 \ Documents \ visual studio2015 \ Projects \ SampleProject \ Transform \ myTransform.btproj]

C:\ Program Files(x86)\ MSBuild \ Microsoft \ Azure集成SDK \ IntegrationCommon.targets(29,5):错误MSB4018:System.IO.FileNotFoundException:无法加载文件或程序集'Microsoft.Azure.Integration.DesignTools.Studio.Extensibility,版本= 1.0.0.0,文化=中性,PublicKeyToken = 31bf3856ad364e35'或它的依赖项之一。该系统找不到指定的文件。[C:\ Users \ User01 \ Documents \ visual studio2015 \ Projects \ SampleProject \ Transform \ myTransform.btproj]

C:\ Program Files(x86)\ MSBuild \ Microsoft \ Azure集成SDK \ IntegrationCommon.targets(29,5):错误MSB4018:文件名:'Microsoft.Azure.Integration.DesignTools.Studio.Extensibility,版本= 1.0.0.0,文化=中性,PublicKeyToken = 31bf3856ad364e35'[C:\ Users \ User01 \ Documents \ visual studio2015 \ Projects \ SampleProject \ Transform \ myTransform.btproj]

C:\ Program Files(x86)\ MSBuild \ Microsoft \ Azure集成SDK \ IntegrationCommon.targets(29,5):错误MSB4018:在Microsoft.Azure.Integration.DesignTools.BizTalkProject.BuildTasks.MapperCompiler.Execute()[C:\ Users \ User01 \ Documents \ visual studio2015 \ Projects \ SampleProject \ Transform \ myTransform.btproj]

C:\ Program Files(x86)\ MSBuild \ Microsoft \ Azure集成SDK \ IntegrationCommon.targets(29,5):错误MSB4018:在Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()[C:\ Users \ User01 \ Documents \ visual studio2015 \ Projects \ SampleProject \ Transform \ myTransform.btproj]

C:\ Program Files(x86)\ MSBuild \ Microsoft \ Azure集成SDK \ IntegrationCommon.targets(29,5):错误MSB4018:在Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()[C:\ Users \ User01 \ Documents \ visual studio2015 \ Projects \ SampleProject \ Transform \ myTransform.btproj]

我正在运行的MSBuild命令是:

C:\Program Files (x86)\MSBuild\14.0\Bin> ./MSBuild.exe $pathToProjectSln /p:VisualStudioVersion=14.0 /target:Build /target:Clean

MapperCompiler在以下文件中定义:

C:\ Program Files(x86)\ MSBuild \ Microsoft \ Azure集成SDK \ IntegrationCommon.targets

as

<Target Name="GenerateXslt">
    <MapperCompiler MapItems="@(Map)"
                    SchemaItems="@(Schema)"
                    ProjectReferences="@(ReferencePath)"
                    WarningLevel="$(WarningLevel)"
                    RootNamespace="$(RootNamespace)"
                    EnableUnitTesting="false"
                    OutputDir ="$(OutputPath)"
                    >
    </MapperCompiler>
  </Target>

似乎未拾取SDK DLL。这些存储在GAC中,但VS解决方案中的项目未明确引用。即使我将它们添加为每个项目中的依赖项,我仍然会遇到相同的错误。

非常感谢您提供任何帮助-谢谢!

visual-studio-2015 msbuild biztalk azure-sdk biztalk-mapper
1个回答
0
投票

我有相同的错误,但是我不明白问题出在哪里,因为使用VisualStudio构建,而不能使用命令提示符。

在我的情况下,我使用“集成帐户项目”,我认为Biztalk项目需要Biztalk安装。

© www.soinside.com 2019 - 2024. All rights reserved.