Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Visual Studio 2010 win form system.windows.forms.datavisualization error

Posted on 2010-11-17
5
Medium Priority
?
1,898 Views
Last Modified: 2013-11-26
Programing with Visual Studio 2010
The project is in Net 3.5 The project i a Win forms project not a web project.
In references I have:
System.Windows.Forms.DataVisualization .NET 3.5.0.0

but when I go to the publish tab on the applications files it doesn't appear.

When I run my project in my computer it works fine, but in other computers when o form with chart is opened the error rises:

Can not load file or assembly 'System.Windows.Forms.DataVisualization, Version = 3.5.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35' or one of its

NOTE:
This project was created before with Visual Studio 2008 and worked without problems, the problem ther is since i upgraded to Visual Studio 2010
0
Comment
Question by:cpx_Support
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 34155060
The charts were not included in 3.5 and you needed to add this reference. they are now builtin VS2010 (if you target .Net framework 4.0)
0
 

Author Comment

by:cpx_Support
ID: 34155516
I added the reference and it works fine in the computer where I have the Visual Studio.
The problem is in the publication.
I want to include the files in the publication but I can't.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 34155548
you have a reference to the 3.5 or the 4.0?

if you have a reference to the 3.5, you need to deploy it with your application as it is not native to this version of the Framework. the easiest way is to set the Local property to True in the reference and copy it from the bin folder to your destination PC
0
 

Author Comment

by:cpx_Support
ID: 34157462
I have a reference to the 3.5
Yes I want to deply it, an when I was using Visual Studio 2008 I did it without problems, now I can't select it.
When you say : "... and copy it from the bin folder to your destination PC " where I have to copy in the destination PC i which folder?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 34157546
the same as your .exe
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

636 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