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

Notification

Icon
Error

Since V3 does not copy dependant dlls to grid node
danius
#1 Posted : Friday, December 9, 2016 12:40:28 PM(UTC)
Rank: Member

Groups: Registered
Joined: 7/17/2013(UTC)
Posts: 20
Location: Ireland

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
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
Remco
#2 Posted : Friday, December 9, 2016 10:31:26 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
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.
danius
#3 Posted : Friday, December 9, 2016 10:34:46 PM(UTC)
Rank: Member

Groups: Registered
Joined: 7/17/2013(UTC)
Posts: 20
Location: Ireland

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
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
1 user thanked danius for this useful post.
Remco on 12/9/2016(UTC)
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.025 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download