Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Slow Cheetah Causing Build Failure
moffatdm
#1 Posted : Friday, July 26, 2013 1:18:42 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/26/2013(UTC)
Posts: 2
Location: United Kingdom

Thanks: 1 times
I am using the SlowCheetah .config transformation build tool.

Getting the following build error from NCrunch (builds fine when using VS2012 and MSBuild via Jenkins)

NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/d..._project-build-issues#0
..\packages\SlowCheetah.2.5.5\tools\SlowCheetah.Transforms.targets (92)#1: The "SlowCheetah.Xdt.TransformXml" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.XmlTransform, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Web.XmlTransform, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at SlowCheetah.Xdt.TransformXml.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()


I have put Ncrunch into "compatibilty mode" and installed the Microsoft.Web.Xdt NuGet package as per http://stackoverflow.com...r-different-enviroments

If I look at the workspace, the Microsoft.Web.XmlTransform.dll has been copied over.

Any assistance much provided

Thanks David

p.s Great tool, will be purchasing when trial expires!
Remco
#2 Posted : Friday, July 26, 2013 10:40:42 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi David -

Thanks for posting, and for your interest in NCrunch!

It looks to me like this Nuget package is making use of a custom build step, requiring an extra dependency in the NCrunch workspace that isn't being copied there.

Try adding the following to your 'Additional files to include' setting at solution level: ..\packages\SlowCheetah.2.5.5\**.*



Cheers,

Remco
2 users thanked Remco for this useful post.
moffatdm on 7/28/2013(UTC), azzlack on 10/21/2013(UTC)
moffatdm
#3 Posted : Sunday, July 28, 2013 7:54:05 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/26/2013(UTC)
Posts: 2
Location: United Kingdom

Thanks: 1 times
Perfect, that's what I was missing.

Cheers

David
Atreyu
#4 Posted : Thursday, December 5, 2013 1:22:54 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/11/2013(UTC)
Posts: 11
Location: Netherlands

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
Is there maybe also a way of including any version of a package?
Now I have to change this setting every time an included package is upgraded.

I expected

Code:
packages\SlowCheetah*\**.*


to be accepted, but to no avail. Is this to prevent version collisions?
Remco
#5 Posted : Thursday, December 5, 2013 10:49:51 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi,

At the moment, unfortunately, I think the best way is to include the version number of the package in the additional files to include. It IS possible to include the entire nuget packages directory ("packages\**.*"), although this will add quite a bit of weight to each workspace.

The 'packages\SlowCheetah*\**.*' expression won't work because of the design of the algorithm that evaluates it. This design is restricted only by simplicity of implementation and not by any kind of real intention, so I've noted it down to be looked at to see if there is room for improvement. It seems to me that it would be quite a nice thing to be able to specify multiple wildcards in the expression.

Cheers,

Remco
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.055 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download