Removing unreferenced dll's

Posted by: sassanow on 8 September 2017, 3:00 pm EST

  • Posted 8 September 2017, 3:00 pm EST

    I've included the FarPoint Spread control (v. 5.0.2011.2008) in a WinForm Click-Once application.  The application is not using any Formula, Excel, PDF or Charting functionality and I'd like to eliminate those dll's from having to be deployed to the end users (they're more than 50% of the download size).  When I remove the references in my VS project and deploy the app, the app fails to launch and pops up message boxes stating those dll's are "missing".

     Is it possible to deploy the Spread control without ALL those dll's?  And if so how?

  • Replied 8 September 2017, 3:00 pm EST

    Hello,

    Are they still being referenced in the web.config ?

  • Replied 8 September 2017, 3:00 pm EST

    Why would they be referenced in the web.config when it doesn't exist?  The project in question is a WinForm project, not an ASP.NET project. 

    I've seen a few posts that list these dll's as required for deployment, but my question would be why are they required for deployment if that functionality isn't being used?  It seems like a very heavy download requirement when it is not necessary.

  • Replied 8 September 2017, 3:00 pm EST

    Sorry, no they aren't necessary.

     The only ones you need to run the component are Farpoint.Win and Farpoint.Win.Spread

     As long as you aren't referencing the others in the project, you should be able to remove them. 

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels