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

Notification

Icon
Error

v2.24 not coping referenced assemblies
MikeWard
#1 Posted : Friday, July 22, 2016 1:23:21 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 10/19/2011(UTC)
Posts: 33
Location: Ann Arbor, MI

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
Just upgraded from 2.23 to 2.24 and a bunch of tests are failing. It appears that some of the build assets are not being copied into the NCrunch workspace. It appears that "Copy referenced assemblies to workspace" is not working. If I roll back to 2.23 everything works.
Remco
#2 Posted : Friday, July 22, 2016 11:25:57 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for sharing this issue.

Is there any pattern around which assets aren't being copied? Are these the referenced assemblies themselves, or are they resource/content files from the referenced projects? v2.24 introduced a targeted fix to solve an issue with 'Link' content resources that weren't being copied up dependency chains.. I hope this hasn't resulted in a regression of some kind.
MikeWard
#3 Posted : Saturday, July 23, 2016 5:59:24 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 10/19/2011(UTC)
Posts: 33
Location: Ann Arbor, MI

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
I haven't dug deep into just yet but it appears to be referenced assemblies from referenced projects. I can't share the project with the issue but I think I can put something together to demonstrate the issue.
Remco
#4 Posted : Saturday, July 23, 2016 11:28:14 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
MikeWard;9043 wrote:
I haven't dug deep into just yet but it appears to be referenced assemblies from referenced projects. I can't share the project with the issue but I think I can put something together to demonstrate the issue.


Thanks for offering to do that. I have a fairly extensive number of tests around the copying of referenced DLLs and as far as I can tell it seems to be working correctly, but it's possible that you have a use case that I'm unfamiliar with and has somehow been broken.
samlan
#5 Posted : Monday, July 25, 2016 5:48:58 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/5/2015(UTC)
Posts: 3
Location: Canada

We have the same issue with 2.24. The test project references another project which has an XML file contained in a folder, with "Build Action" set to "Content" and "Copy to Output Directory" set to "Copy always". The XML file does not get copied. Everything worked fine in the previous version.
Remco
#6 Posted : Monday, July 25, 2016 11:55:29 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
samlan;9048 wrote:
We have the same issue with 2.24. The test project references another project which has an XML file contained in a folder, with "Build Action" set to "Content" and "Copy to Output Directory" set to "Copy always". The XML file does not get copied. Everything worked fine in the previous version.


Can you check whether the file has perhaps been copied to an unexpected place in your output directory?

The fix in 2.24 was intended to fix an issue where a resource file in a subdirectory was being copied into the root of the output directory, when it should actually have been copied into a subdir as per standard build logic.

At the moment I'm still having trouble reproducing any issues with files not being copied up the dependency chain. Any help you can provide in terms of a sample solution would really be a huge help.
Nicolas
#7 Posted : Thursday, January 5, 2017 9:11:58 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/5/2017(UTC)
Posts: 10
Location: Canada

Was thanked: 1 time(s) in 1 post(s)
Hello,

I have reproduced the bug and made a full solution zipped to help you debug out... i retained upgrading (and paying and upgrade fee) while this bug was around.

How can we share a zip file?
Nicolas
#8 Posted : Thursday, January 5, 2017 9:22:27 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/5/2017(UTC)
Posts: 10
Location: Canada

Was thanked: 1 time(s) in 1 post(s)
Just sent the zip file via the contact web form on this site: https://www.ncrunch.net/Support/Contact

Thanks
Remco
#9 Posted : Friday, January 6, 2017 1:10:45 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
Nicolas
#11 Posted : Friday, January 6, 2017 6:26:25 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/5/2017(UTC)
Posts: 10
Location: Canada

Was thanked: 1 time(s) in 1 post(s)
Thank you! all works fine now...
1 user thanked Nicolas for this useful post.
Remco on 1/6/2017(UTC)
Remco
#12 Posted : Wednesday, January 18, 2017 11:45:05 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
NCrunch v3.3 is now also available including a fix for this issue - https://www.ncrunch.net/download.
Nicolas
#13 Posted : Monday, February 6, 2017 3:49:19 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/5/2017(UTC)
Posts: 10
Location: Canada

Was thanked: 1 time(s) in 1 post(s)
Thanks, right now i cannot keep ncrunch V3.3 since my license was not able to go further v2.25...
Since i was stuck with v2.22 for a long time and not able to upgrade (because of that bug) is it possible to access some kind of price reduction for a new upgrade ?

Thanks in advance
Remco
#14 Posted : Monday, February 6, 2017 9:58:00 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
Sorry, to use v3.3 you'll need to upgrade your license. I can't provide a discount on account of a technical fault like this.
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.076 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download