Using .net 3.5 assemblies in asp.net 2.0 web application
Posted
by masterik
on Stack Overflow
See other posts from Stack Overflow
or by masterik
Published on 2010-05-21T11:24:04Z
Indexed on
2010/05/21
11:30 UTC
Read the original article
Hit count: 575
I have an .net assembly build against 3.5 framework. This assembly has a class Foo with two method overrides:
public class Foo {
public T Set<T>(T value);
public T Set<T>(Func<T> getValueFunc);
}
I'm referencing this assembly in my asp.net 2.0 web application to use first override of the Set method (without Func).
But on build I get an error saying that I should reference System.Core to use System.Func delegate... but I'm not using this type...
Is there a workaround to solve this?
PS: There is no option to convert my web application targeting 3.5 framework.
© Stack Overflow or respective owner