1

I upgraded to FB8 and now an internal written plugin is throwing this error:

Cannot resolve dependency to assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event. See the plugins page for more information.

This plugin ran fine on 7.3.6. Any ideas what to look for in the plugin code to resolve this?

flag

1 Answer

3

As FogBugz targets the .NET 2.0 framework, so should its plugins. Sometimes plugins targeting 3.5 work, but that's not really intentional or supported.

The fix is to change your VS project settings to target 2.0 and recompile the plugin.

link|flag
Thanks. The author used Linq, so looks like I need to rewrite part of the plugin to target .net 2. – DP Sep 28 2010 at 16:03
You could also look at using LINQBridge (albahari.com/nutshell/linqbridge.aspx) depending on what parts of LINQ they used. – db Sep 28 2010 at 20:55

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.