Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable *.sbr in Visual Studio

I want to disable making *.sbr files in Visual Studio via Solution Settings, because my project has a lot of warnings like:

BSCMAKE : warning BK4503: minor error in .SBR file 'Foo.sbr' ignored

What are the limitations and disadvantages I get with this?

like image 400
rikimaru2013 Avatar asked Jan 11 '16 22:01

rikimaru2013


1 Answers

SBR files hold browse information for individual source files, which bscmake then compiles into a BSC file. Visual Studio versions up to 2010 or so used to be able to load a BSC file in the Object Browser, see for example Using .Bsc Files to Enable Browsing To References of C++ Symbols. Nowadays, I believe BSC files are still only used by some 3rd party utilities and extensions.

To control SBR generation, follow the steps from /FR, /Fr (Create .Sbr File):

To set this compiler option in the Visual Studio development environment

  • Open the project's Property Pages dialog box.
  • Click the C/C++ folder.
  • Click the Browse Information property page.
  • Modify the Browse Information File or Enable Browse Information property.
like image 112
dxiv Avatar answered Sep 30 '22 16:09

dxiv