Skip to content

Build failure on 64-bit MSBuild as could not load assembly " XamlBuildTask.dll”#2001

Merged
AndyGerlicher merged 1 commit intodotnet:vs15.2from
erikcai8:vs15.2
Apr 27, 2017
Merged

Build failure on 64-bit MSBuild as could not load assembly " XamlBuildTask.dll”#2001
AndyGerlicher merged 1 commit intodotnet:vs15.2from
erikcai8:vs15.2

Conversation

@erikcai8
Copy link

@erikcai8 erikcai8 commented Apr 21, 2017

The root cause of the issue is because MSBuild cannot find the XamlBuildTask.dll for X-platform build (I.e.: using x86 MSBuild to build x64 assembly). The fix requires 3 changes as below.

WF Team: First change is to drop XamlBuildTask.dll and Microsoft.Activitity.Build.dll to …\MSBuild\15.0\Bin\amd64 rather than MSBuild\15.0\Bin. Second change is to update the app base for 2nd app domain so that they can find XmlBuildTask.dll.

MSBuild Team: Another change is in Github to update the XmalBuildTaskPath to $(MSBuildToolsPath64) in "Microsoft.Xaml.Targets".

@AndyGerlicher AndyGerlicher merged this pull request into dotnet:vs15.2 Apr 27, 2017
AndyGerlicher added a commit that referenced this pull request Apr 27, 2017
Allows 64-bit MSBuild to find XamlBuildTask.dll to build 64-bit Xaml projects. Related to internal issue DevDiv.372915.
AndyGerlicher added a commit to AndyGerlicher/msbuild that referenced this pull request May 4, 2017
…et#2020) Allows 64-bit MSBuild to find XamlBuildTask.dll to build 64-bit Xaml projects. Related to internal issue DevDiv.372915.
AndyGerlicher added a commit that referenced this pull request May 4, 2017
) Allows 64-bit MSBuild to find XamlBuildTask.dll to build 64-bit Xaml projects. Related to internal issue DevDiv.372915.
radical pushed a commit to mono/msbuild that referenced this pull request May 31, 2017
…et#2020) (dotnet#2059) Allows 64-bit MSBuild to find XamlBuildTask.dll to build 64-bit Xaml projects. Related to internal issue DevDiv.372915.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants