I have a solution set up consisting of multiple BizTalk btproj projects.
I also have the Microsoft Azure Logic Apps Enterprise Integration Tools for Visual Studio 2015 2.0 installed.
When I build the solution using Visual Studio 2015, it succeeds. If I do so using MSBuild, I run into the following errors:
C:\Program Files (x86)\MSBuild\Microsoft\Azure Integration SDK\IntegrationCommon.targets(29,5): error MSB4018: The "MapperCompiler" task failed unexpectedly. [C:\Users\User01\Documents\visual studio 2015\Projects\SampleProject\Transform\myTransform.btproj]
C:\Program Files (x86)\MSBuild\Microsoft\Azure Integration SDK\IntegrationCommon.targets(29,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Azure.Integration.DesignTools.Studio.Extensibility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. [C:\Users\User01\Documents\visual studio 2015\Projects\SampleProject\Transform\myTransform.btproj]
C:\Program Files (x86)\MSBuild\Microsoft\Azure Integration SDK\IntegrationCommon.targets(29,5): error MSB4018: File name: 'Microsoft.Azure.Integration.DesignTools.Studio.Extensibility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' [C:\Users\User01\Documents\visual studio 2015\Projects\SampleProject\Transform\myTransform.btproj]
C:\Program Files (x86)\MSBuild\Microsoft\Azure Integration SDK\IntegrationCommon.targets(29,5): error MSB4018: at Microsoft.Azure.Integration.DesignTools.BizTalkProject.BuildTasks.MapperCompiler.Execute() [C:\Users\User01\Documents\visual studio 2015\Projects\SampleProject\Transform\myTransform.btproj]
C:\Program Files (x86)\MSBuild\Microsoft\Azure Integration SDK\IntegrationCommon.targets(29,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [C:\Users\User01\Documents\visual studio 2015\Projects\SampleProject\Transform\myTransform.btproj]
C:\Program Files (x86)\MSBuild\Microsoft\Azure Integration SDK\IntegrationCommon.targets(29,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() [C:\Users\User01\Documents\visual studio 2015\Projects\SampleProject\Transform\myTransform.btproj]
The MSBuild command I'm running is:
C:\Program Files (x86)\MSBuild\14.0\Bin> ./MSBuild.exe $pathToProjectSln /p:VisualStudioVersion=14.0 /target:Build /target:Clean
MapperCompiler is defined in the following file:
C:\Program Files (x86)\MSBuild\Microsoft\Azure Integration SDK\IntegrationCommon.targets
as
<Target Name="GenerateXslt">
<MapperCompiler MapItems="@(Map)"
SchemaItems="@(Schema)"
ProjectReferences="@(ReferencePath)"
WarningLevel="$(WarningLevel)"
RootNamespace="$(RootNamespace)"
EnableUnitTesting="false"
OutputDir ="$(OutputPath)"
>
</MapperCompiler>
</Target>
It looks like the SDK DLLs aren't being picked up. These are stored in the GAC but aren't explicitly referenced by the projects within the VS solution. Even if I add them as dependencies within each individual project, I still run into the same errors.
Would appreciate any help with this - thank you!
Microsoft Azure Logic Apps Enterprise Integration Tools
and then use MSBuild to test whether it is the error of MSBuild orMicrosoft Azure Logic Apps Enterprise Integration Tools
and feel free to let us know. – Mr QianMicrosoft Azure Integration Tools
. If I comment out the<Import Project="$(MSBuildExtensionsPath)\Microsoft\Azure Integration SDK\IntegrationTasks.targets" />'
line in the.btproj
files, I get past this error but am confronted with another:C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2482,7): error MSB4057: The target "CreateManifestResourceNames" does not exist in the project.
– RizJa