I had a Class Project in .Net This Project is Generic .This Project get treeNode Control (Web and windows(generic))and Return (Web Or Windows )TreeNode. In Windows Project I Reference this generic project and have an error
Warning 1 The referenced assembly ".......dll" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
how to solve this problem and use this generic class project in windows and web projects