ClickOnce Deployment
The .NET Framework provides ClickOnce deployment to facilitate running rich client applications from an intranet or Internet source.
When Visual Studio builds a ClickOnce package, by default it contains your application and the assemblies it depends on, directly or indirectly. Applications which use LightSpeed may therefore by default end up with some ADO.NET providers that they not need. This can increase the download size of your ClickOnce package, and may even cause errors if ClickOnce expects to find a dependency in the client global assembly cache (GAC). For example, Visual Studio by default marks SQL Server Compact as a prerequisite for LightSpeed, even if your application does not use this database.
To remove dependencies and prerequisites that your application does not need, open the Project Properties screen, go to the Publish tab, click the Application Files button and set the Publish status to Exclude. Be careful not to exclude assemblies which your application does use!