| Subcribe via RSS

SharePoint 2010 and Visual Studio 2010 Beta 2 target Framework problems

Januar 21st, 2010 Posted in Uncategorized

Today, I tried to add a reference to the assembly Microsoft.Office.Server.Search.dll and got this warning:

The primary reference "Microsoft.Office.Server.Search, Version=,
Culture=neutral, PublicKeyToken=71e9bce111e9429c,
processorArchitecture=MSIL" could not be resolved because it has an
indirect dependency on the framework assembly
"System.Web.DataVisualization, Version=, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" which could not be resolved in the
currently targeted framework. ".NETFramework,Version=v3.5". To resolve
this problem, either remove the reference
"Microsoft.Office.Server.Search,Version=, Culture=neutral,
PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL" or
retarget your application to a framework version which contains
"System.Web.DataVisualization, Version=, Culture=neutral,


Create a .reg file and add this lines:

Windows Registry Editor Version 5.00
v2.0.50727\AssemblyFoldersEx\Chart Controls]
@="C:\\Program Files (x86)\\Microsoft Chart Controls\\Assemblies"

Run this file and the entry will be added to the registry. Restart Visual Studio and the warning will be gone.

Leave a Reply