Reputation: 401
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?
Upvotes: 5
Views: 6129
Reputation: 656
In VS solution explore, right click the project. In property page[I am in VS2013]: 1. select 'Configuration Properties'-'C/C++'-'Browse Information'; 2. in right dialog, select 'NO' in 'Enable Browse Information' ComboBox; 3. select 'OK'
Upvotes: 0
Reputation: 351
dxiv's point is right. However, one may also need to check the Browse Information -> General settings.
Upvotes: 0
Reputation: 17658
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.
Upvotes: 5