EDN Admin
Well-known member
Hi,
I have an assembly which is developed for .NET framework 4.0(3rd party assembly). I wanted to consume this assembly in a webservice which is developed for .NET Framework 3.5. I am facing the following isses.
1. When I am trying to refer the 4.0 assembly in VS 2008 IDE it is not recongnising it at all. I think this will be basic nature
2. When I am trying to add the reference of 4.0 assembly in VS 2010 in 3.5 targeted Webservice, it successfully added the reference. And I am able to use the classes in the 3.5 application. But when I am trying to compile the 3.5 application then the 3.5
compiler is not able to recongnize the classes of 4.0 assembly, and is giving the error like "missing refernce for the class".
The assembly developed for 4.0 is not using any 4.0 features. It is using only the 3.5 features but compiled for 4.0 framework.
Can any one know how to use the .net 4.0 assembly (targetted framwork is 4.0) for 3.5 version applications?.
The restriction is my application will not work on .net 4.0 because it is consuming other applications which always checks for version validation ie 2.0/3.0/3.5 only.
Appreciated prompt help. Thanks in advance.
Suresh Kumar Thanda
View the full article
I have an assembly which is developed for .NET framework 4.0(3rd party assembly). I wanted to consume this assembly in a webservice which is developed for .NET Framework 3.5. I am facing the following isses.
1. When I am trying to refer the 4.0 assembly in VS 2008 IDE it is not recongnising it at all. I think this will be basic nature
2. When I am trying to add the reference of 4.0 assembly in VS 2010 in 3.5 targeted Webservice, it successfully added the reference. And I am able to use the classes in the 3.5 application. But when I am trying to compile the 3.5 application then the 3.5
compiler is not able to recongnize the classes of 4.0 assembly, and is giving the error like "missing refernce for the class".
The assembly developed for 4.0 is not using any 4.0 features. It is using only the 3.5 features but compiled for 4.0 framework.
Can any one know how to use the .net 4.0 assembly (targetted framwork is 4.0) for 3.5 version applications?.
The restriction is my application will not work on .net 4.0 because it is consuming other applications which always checks for version validation ie 2.0/3.0/3.5 only.
Appreciated prompt help. Thanks in advance.
Suresh Kumar Thanda
View the full article