Build/Test Issues

Since V3 does not copy dependant dlls to grid node

Started by danius on 3,988 views

both grid node and client are latest v3.
I also tried "copy ref assemblies to workspace" setting, no luck.

builds on local client no problem but local client has the dlls in GAC


NCrunch: This project was built on server 'miniNCrunch'
Authorization\CredentialCache.cs (1, 7): The type or namespace name 'DevExpress' could not be found (are you missing a using directive or an assembly reference?)
DataModel\DesignTimeReadOnlyRepository.cs (1, 7): The type or namespace name 'DevExpress' could not be found (are you missing a using directive or an assembly reference?)
DataModel\DesignTimeRepository.cs (1, 7): The type or namespace name 'DevExpress' could not be found (are you missing a using directive or an assembly reference?)
Data\Sync\BaseDataSyncContext.cs (1, 7): The type or namespace name 'DevExpress' could not be found (are you missing a using directive or an assembly reference?)
Utils\CommitHelper.cs (1, 7): The type or namespace name 'DevExpress' could not be found (are you missing a using directive or an assembly reference?)
Utils\CommitHelper.cs (5, 7): The type or namespace name 'DevExpress' could not be found (are you missing a using directive or an assembly reference?)
Utils\GridLayoutService.cs (1, 7): The type or namespace name 'DevExpress' could not be found (are you missing a using directive or an assembly reference?)

Thanks
Daniel
Hi Daniel,

Thanks for posting!

V3 hasn't introduced any changes to the behaviour of transferring files over to the grid node.

If files are being referenced from the GAC on the client, or in 'Program Files', they are considered to be part of an installed SDK on the client and they will not be transferred to the grid node.

There are two ways you can solve this:
1. Install the files on the grid node server in the same manner as they've been installed on the client
2. Copy the files to a relative path under your solution directory and reference them using a relative path with the MSBuild <AssemblyReference> tags.
Thanks for reply. Maybe i am having a blank moment then. In any case that's what i did. Installed the SDK on grid nodes.
Good feature btw. Love it.

Cheers

Post a reply

Log in to reply.