Creating an .Sbr File


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Creating an .Sbr File.

The input files for BSCMAKE are .sbr files. The compiler creates an .sbr file for each object file (.obj) it compiles. When you build or update your browse information file, all .sbr files for your project must be available on disk.

To create an .sbr file with all possible information, specify /FR.

To create an .sbr file that doesn't contain local symbols, specify /Fr. If the .sbr files contain local symbols, you can still omit them from the .bsc file by using BSCMAKE's /El option.

You can create an .sbr file without performing a full compile. For example, you can specify the /Zs option to the compiler to perform a syntax check and still generate an .sbr file if you specify /FR or /Fr.

The build process can be more efficient if the .sbr files are first packed to remove unreferenced definitions. The compiler automatically packs .sbr files.

Building a .Bsc File