Sitecore.HabitatHome.Commerce icon indicating copy to clipboard operation
Sitecore.HabitatHome.Commerce copied to clipboard

XdtTransformConfig does not exist in the current context

Open DThrasher opened this issue 5 years ago • 0 comments

Describe the bug When I run the .\build.ps1 -Target Initial command I get the following error: XdtTransformConfig does not exist in the current context

This is because it could not load the Cake.XdtTransform.dll. In the stack trace it notes that it is missing DotNet.Xdt.

To Reproduce Starting with a fresh solution, run the cake build for the first time using the .\build.ps1 -Target Initial command.

Expected behavior The Cake build script executes successfully.

Screenshots

In the screenshot below, the first run was before I modified the build.cake file, the second run was after I changed it.

2019-08-23_17-54-59

Demo Version Please specify the version of the demo assets you are using (wwwroot\habitat.dev.local\sitecore.habitathome.version.txt)

Demo Version 9.1.0.3

Additional context This is caused by a reported issue in Cake.XdtTransform https://github.com/cake-contrib/Cake.XdtTransform/issues/34

Changing the first line in the build.cake file -- as described in that issue -- fixes the problem. #addin nuget:?package=Cake.XdtTransform&version=0.18.1&loaddependencies=true

DThrasher avatar Aug 23 '19 22:08 DThrasher