When you are done developing your customized Microsoft Excel 2007 or Microsoft Word 2007 workbook project in Visual Studio 2008, you may want to publish it to a SharePoint document library for others to use from the SharePoint site, or they can copy the file from the site to their desktop to use locally. In either case, the customization assembly cannot be stored in the SharePoint document library, so you have to configure the workbook to store the assembly on a file share. In Solution Explorer , right-click the Excel document-level project, and then click Publish
View original here:
Deploying Documents to a SharePoint Document Library (Mary Lee)