How to: Build Office Solutions
Building your Microsoft Office solution is no different than building other applications in Visual Studio. For more information about building applications, see Building in Visual Studio. For a discussion of some considerations that are specific to Office solutions, see Office Solution Build Process Overview.
If you build a document-level solution to a remote location instead of the local computer, add the fully qualified path to the Trusted Locations list in the application's Trust Center. For more information, see the section called Granting Trust to Documents in Security in Office Solutions (2007 System).
To build an Office solution
Decide whether you are making a debug or a release build. For more information, see Debugger Project Settings.
Choose the appropriate option for building or rebuilding your solution or project. For more information, see Building in Visual Studio.