我想通过解决方案设置禁用在 Visual Studio 中生成 *.sbr 文件,因为我的项目有很多警告,例如:
BSCMAKE : warning BK4503: minor error in .SBR file 'Foo.sbr' ignored
我使用它有哪些限制和缺点?
最佳答案
SBR 文件包含各个源文件的浏览信息,bscmake
然后将其编译成 BSC 文件。直到 2010 年左右的 Visual Studio 版本过去能够在对象浏览器中加载 BSC 文件,例如参见 Using .Bsc Files to Enable Browsing To References of C++ Symbols .如今,我相信 BSC 文件仍然只被一些第 3 方实用程序和扩展程序使用。
要控制 SBR 的生成,请按照 /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.
关于c++ - 在 Visual Studio 中禁用 *.sbr,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34732089/