c# - Referencing a .NET 2 assembly in a project targeting .NET 4 -


i using teechart lite (the free version of teechart). use in wpf project downloadable free version available .net 2.0 therefore following error:

warning 1 referenced assembly "teechart.lite" not resolved because has dependency on "system.design, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a" not in targeted framework ".netframework,version=v4.0,profile=client". please remove references assemblies not in targeted framework or consider retargeting project.

is safe add assembly system.design, version 4.0.0.0 though not part of targeted framework? or there else can working in .net 4.0?

i don't have visual studio available test, it's 1 of these 2 things:

more likely, need reference system.design.dll, which standalone dll.

less likely: error message states, targeting 4.0 client framework, default new projects in vs2010. go project properties , reference full 4.0 framework, might solve problem.

the actual solution may require combining both steps.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -