Link to home
Start Free TrialLog in
Avatar of SanjaySutar
SanjaySutarFlag for India

asked on

.Net framework version mismatch while adding reference

Hi,

I have a solution with 2 projects a C# class library project targeting .Net Framework 3.5 and

a silverlight (version 3) class library project targeting .Net Framework 3.5 .

Now when i am trying to add reference of first project in silverlight class library, I am getting error as follows :

the target framework version of the project '' is higher than current project Target Framework version. Would you like to add this reference anyway ?

User generated image
Why i am getting this error even though target framework for both is same ?
Avatar of Sathish DV
Sathish DV
Flag of United States of America image

Hi,

you cannot add non-silverlight reference to silverlight project. So try moving all functionality avail in C# class libray to SL class library.
ASKER CERTIFIED SOLUTION
Avatar of dj_alik
dj_alik

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial