Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Project Properties
Project Designer
 How to: Set Compiler Optimizations
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio 
How to: Set Compiler Optimizations 

The Visual Basic compiler supports several optimizations that can, in some cases, make an application file smaller, make an application run faster, or speed up the build process, Compiler optimizations are set in the Advanced Compiler Settings dialog box, accessible from the Compile page of the Project Designer.

To remove integer overflow checks

  1. With a project selected in Solution Explorer, on the Project menu. click Properties.

  2. Click the Compile tab.

  3. Click the Advanced Compile Options button.

  4. In the Advanced Compiler Settings dialog box, select the Remove integer overflow checks check box.

To enable optimizations in the output file

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.

  2. Click the Compile tab.

  3. Click the Advanced Compile Options button.

  4. In the Advanced Compiler Settings dialog box, select the Enable optimizations check box.

To generate debugging information

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.

  2. Click the Compile tab.

  3. Click the Advanced Compile Options button.

The Advanced Compiler Settings dialog box appears. In the Generate debug info box, select Full, None, or pdb-only.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker