Build failure on 64-bit MSBuild as could not load assembly " XamlBuildTask.dll”#2001
Merged
AndyGerlicher merged 1 commit intodotnet:vs15.2from Apr 27, 2017
Merged
Build failure on 64-bit MSBuild as could not load assembly " XamlBuildTask.dll”#2001AndyGerlicher merged 1 commit intodotnet:vs15.2from
AndyGerlicher merged 1 commit intodotnet:vs15.2from
Conversation
… assembly " XamlBuildTask.dll”
AndyGerlicher added a commit that referenced this pull request Apr 27, 2017
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
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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".