The Microsoft chart control is included in .NET 4 and above. For .NET3.5 your application distribution package needs to include mschart.exe and install it as a prerequisite if it is not already on the users PC. You can’t simply include a .dll – mschart.exe needs to be run.

Adding MS Chart Controls as a prerequisite in your Visual Studio 2008 installation package

Follow this guide, then in the setup and deployment project select Menu > Project > Properties and select it as a prequisite:

http://www.mycode.si/post/2010/10/06/Setup-project-deploy-MS-Chart-for-NET-Framework-35.aspx

Another guide if the above ever vanishes:

http://www.philpreen.co.uk/MSChart/

Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published.