.Net framework version mismatch while adding reference

Posted on 2011-05-11
Last Modified: 2012-08-14

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 ?

Version Conflict error
Why i am getting this error even though target framework for both is same ?
Question by:SanjaySutar
    LVL 4

    Expert Comment

    by:Sathish DV

    you cannot add non-silverlight reference to silverlight project. So try moving all functionality avail in C# class libray to SL class library.
    LVL 18

    Accepted Solution

    Silverlight 4 Project Types part III – Silverlight Class Library

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
    For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now