0
votes

In Visual Studio 2010 prerequisites window these are checked
-Microsoft .net framework 4 (x86 and x64)
-Microsoft .net framework 4 client profile (x86 and x64)
-SQL server 2008 express
-SQL server compact 3.5 sp2
-Windows Installer 3.1
-Windows installer 4.5

They seem repetitive (installer 3.1, compact server, client profile). How do i know that which components are really necessary for my application to run and which of them are useless.

1
List what's in the References node of your projects. And the active settings when you select Build + Configuration Manager.Hans Passant
DataGridViewAutoFilter, System.(Core, Data, Data.DataSetExtensions, Data.Entity, Deployment, Design, Drawing, Runtime.Serialization, Security, Windows.Forms, Windows.Forms.DataVisualization, Xml, Xml.Linq) and in configuration manager Debug and Release are on Mixed PlatformsSMUsamaShah

1 Answers

0
votes

You should know what version of the .NET Framework you are targeting, and specify only that one as a prerequisite. You don't need both of these. The version you are targeting is set in the Application tab (assuming C#).

If you're using SQL2008 Express, then check the box. If you're not, then don't.

Same for SQLCE, although if using that in a ClickOnce application, I would deploy it locally as described here: http://robindotnet.wordpress.com/2010/02/28/how-to-deploy-the-sqlserver-compact-edition-software-locally/