slandau
slandau

Reputation: 24082

Errors in build -- missing references

I can't build because of some .dll's not being able to be resolved. Here is the "warning" for one of the main ones, the error is just the basic "Type or namespace..." error.

Does anyone know what this means or how to fix it?

Warning 6 The primary reference "C:\SVN\k2\PandaTrunk\Teapot\Chatham.Panda.Teapot.Controls\bin\Debug\Chatham.Panda.Teapot.Controls.dll" could not be resolved because it has an indirect dependency on the framework assembly "System.Windows.Forms.DataVisualization, Version=3.5.0.0, 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 "C:\SVN\k2\PandaTrunk\Teapot\Chatham.Panda.Teapot.Controls\bin\Debug\Chatham.Panda.Teapot.Controls.dll" or retarget your application to a framework version which contains "System.Windows.Forms.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Chatham.Panda.Teapot.Models.FxForward

Upvotes: 2

Views: 2234

Answers (1)

Migol
Migol

Reputation: 8447

You are building project to .NET Framework version less than 3.5. Check if your project is targeting at least .NET Framework 3.5.

EDIT: If it doesn't work then download Microsoft Chart Controls for Microsoft .NET Framework 3.5 and make sure that requested DLL is in the GAC.

Upvotes: 4

Related Questions