|
-
May 17th, 2013, 05:08 AM
#1
Thread Starter
Hyperactive Member
Problem distributing project with chart
I have added a Chart v3.5 to my VB 2010 project and the chart displays correctly.
I have published the project and when I distribute it and the user updates and tries to run the project there is the error message asking if you want to send details of the error to microsoft.
I assume the error is caused by the Chart component being missing from the project as if I remove the chart the user can use the program.
Is there something missing as I cannot see where the chart component is added to my distribution.
Should it appear in Publish - Application Files?
Thanks.
-
May 17th, 2013, 09:35 AM
#2
Re: Problem distributing project with chart
In the References area of your Project, you should be able to select the DLL/Component to "Copy Local", which will create a copy of the DLL and place it in the Debug/Release folder on a compile. Without it installed on other PC's, of course your program will crash.
-
May 20th, 2013, 02:53 AM
#3
Thread Starter
Hyperactive Member
Re: Problem distributing project with chart
Thanks.
In the Solution Explorer under references I have System.Windows.Forms.DataVisualization - I have set 'Copy Local' to True (for most other references 'Copy Local' is false).
If I go into Public - Applcation Files, System.Windows.Forms.DataVisualization is not listed - I'm not sure is this is significant.
When I publish the project and deploy it I get the message "MyApp has encountered a problem and needs to close...".
When I check what programs have been installed, System.Windows.Forms.DataVisualization is not there.
I'm not sure what I'm missing.
Thanks
-
May 22nd, 2013, 11:42 AM
#4
Re: Problem distributing project with chart
It wouldn't be an installed program. The DLL should be with your application EXE or registered in the GAC. When you're deploying, can you make sure the dependency is actually being included?
-
May 23rd, 2013, 03:42 AM
#5
Thread Starter
Hyperactive Member
Re: Problem distributing project with chart
Thanks, but how can I check the following?
"When you're deploying, can you make sure the dependency is actually being included?"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|