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

Notification

Icon
Error

Reflection issue v3.22
rodtan
#1 Posted : Friday, December 7, 2018 10:14:07 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/5/2018(UTC)
Posts: 2
Location: Norway

Seems this issue has turned up again: https://forum.ncrunch.ne...7_reflection-issue.aspx

I'm running version 3.22 and experiencing the exact same issue. I'm sure this was fixed in 3.10?
Remco
#2 Posted : Friday, December 7, 2018 11:24:48 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,482

Thanks: 718 times
Was thanked: 899 time(s) in 855 post(s)
Hi, thanks for sharing this issue.

Yes, v3.10 did fix the issue. Unfortunately the fix is a moving target, and MS do release new versions of .NET Core all the time. I'm not going to rule out the possibility that it has been rebroken due to platform level changes, or that there is an edge case that hasn't been considered.

I just wanted to check that you have the 'Copy referenced assemblies to workspace' setting turned on for all the projects in your solution?
rodtan
#3 Posted : Monday, December 10, 2018 12:27:25 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/5/2018(UTC)
Posts: 2
Location: Norway

Yes, 'Copy referenced assemblies to workspace' is set to true for all projects.
Remco
#4 Posted : Monday, December 10, 2018 10:45:53 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,482

Thanks: 718 times
Was thanked: 899 time(s) in 855 post(s)
rodtan;12907 wrote:
Yes, 'Copy referenced assemblies to workspace' is set to true for all projects.


Thanks for confirming this.

Where we've experienced it before, this problem has been tied to the structure of the relevant .deps file inside your project's build output directory. Normally, this .deps file should specify the dependencies that sit under the DependencyContext. We do quite a bit of processing on the file to allow us to compartmentalise the build system but still have the runtime environment behave more or less the same as it would normally.

The unfortunate problem with the dependency structure detailed in this file is that it's extremely complex, to the point where without a scenario demonstrating the problem, we really have no hope of being able to track it down or resolve it.

If you're able to build a sample solution to reproduce the issue you're seeing here, I should be able to pull things apart and figure it out. You're welcome to submit small test solutions through the NCrunch contact form.
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.031 seconds.