Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XdtTransformConfig does not exist in the current context #79

Open
DThrasher opened this issue Aug 23, 2019 · 0 comments
Open

XdtTransformConfig does not exist in the current context #79

DThrasher opened this issue Aug 23, 2019 · 0 comments

Comments

@DThrasher
Copy link

DThrasher commented Aug 23, 2019

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
phillipsj/Cake.XdtTransform#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant