Browse information is not available for this project 的烦恼
2010-05-14 13:34
429 查看
看公司的代码,突然对出现下列消息很烦.
总是在我调试的时候,转到定义时候弹出警告,主要是:"
Browse information is not available for this project "
去搜索下,找到解决办法了,
其实很简单,原来偶尔遇到这类问题,没有怎么在意,原来可以这么轻松解决啊.
在 Visual c + +.net,您必须单击以选择单个项目选项以创建 BSC 文件:
在解决方案资源管理器窗口中右键单击该项目问题 (注意解决方案可以包含多个项目),,然后再单击 属性。
在 属性页 对话框中单击以选中 常规 部分。
在 常规 部分中找到 生成浏览器信息 属性,然后从 否 为 是 更改设置。
重新生成项目,创建 BSC 文件。
注意有关如何生成在 Visual c + + 2005年中的.bsc 文件的详细信息请访问下面的 Microsoft 网站:
http://msdn2.microsoft.com/en-us/library/1cf33ehd(en-US,VS.80).aspx (http://msdn2.microsoft.com/en-us/library/1cf33ehd(en-US,VS.80).aspx)
在早期版本的 Visual c + + 中,您必须单击在生成设置中选择两个复选框:
在主菜单上选择 生成 / 设置。
选择 C/c + + 选项卡,选中 生成浏览信息 框。这会告诉编译器生成的中间 SBR 文件为每个源代码文件。
选择 浏览信息 选项卡,选中 生成浏览信息文件 框。若要生成 BSC 文件生成一个项目时,这将调用 BSCMAKE 实用程序。
英文的解答是:
In Visual C++ .NET, you must click to select a single project option to create the BSC file: In the Solution Explorer window, right-click the project in question (note that solutions can contain more than one project), and then click Properties.
In the Property Pages dialog box, click to select the General section.
Locate the Build Browser Information property in the General section, and then change the setting from No to Yes.
Rebuild your project to create the BSC file.
Note For more information about how to build a .bsc file in Visual C++ 2005, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/1cf33ehd(en-US,VS.80).aspx (http://msdn2.microsoft.com/en-us/library/1cf33ehd(en-US,VS.80).aspx)
In earlier versions of Visual C++, you must click to select two check boxes in the build settings: On the main menu, select Build/Settings.
Select the C/C++ tab. Select the Generate browse info box. This tells the compiler to generate an intermediate SBR file for each source file.
Select the Browse Info tab. Select the Build browse info file box. This invokes the BSCMAKE utility when a project is built to generate a BSC file.
总是在我调试的时候,转到定义时候弹出警告,主要是:"
Browse information is not available for this project "
去搜索下,找到解决办法了,
其实很简单,原来偶尔遇到这类问题,没有怎么在意,原来可以这么轻松解决啊.
在 Visual c + +.net,您必须单击以选择单个项目选项以创建 BSC 文件:
在解决方案资源管理器窗口中右键单击该项目问题 (注意解决方案可以包含多个项目),,然后再单击 属性。
在 属性页 对话框中单击以选中 常规 部分。
在 常规 部分中找到 生成浏览器信息 属性,然后从 否 为 是 更改设置。
重新生成项目,创建 BSC 文件。
注意有关如何生成在 Visual c + + 2005年中的.bsc 文件的详细信息请访问下面的 Microsoft 网站:
http://msdn2.microsoft.com/en-us/library/1cf33ehd(en-US,VS.80).aspx (http://msdn2.microsoft.com/en-us/library/1cf33ehd(en-US,VS.80).aspx)
在早期版本的 Visual c + + 中,您必须单击在生成设置中选择两个复选框:
在主菜单上选择 生成 / 设置。
选择 C/c + + 选项卡,选中 生成浏览信息 框。这会告诉编译器生成的中间 SBR 文件为每个源代码文件。
选择 浏览信息 选项卡,选中 生成浏览信息文件 框。若要生成 BSC 文件生成一个项目时,这将调用 BSCMAKE 实用程序。
英文的解答是:
In Visual C++ .NET, you must click to select a single project option to create the BSC file: In the Solution Explorer window, right-click the project in question (note that solutions can contain more than one project), and then click Properties.
In the Property Pages dialog box, click to select the General section.
Locate the Build Browser Information property in the General section, and then change the setting from No to Yes.
Rebuild your project to create the BSC file.
Note For more information about how to build a .bsc file in Visual C++ 2005, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/1cf33ehd(en-US,VS.80).aspx (http://msdn2.microsoft.com/en-us/library/1cf33ehd(en-US,VS.80).aspx)
In earlier versions of Visual C++, you must click to select two check boxes in the build settings: On the main menu, select Build/Settings.
Select the C/C++ tab. Select the Generate browse info box. This tells the compiler to generate an intermediate SBR file for each source file.
Select the Browse Info tab. Select the Build browse info file box. This invokes the BSCMAKE utility when a project is built to generate a BSC file.
相关文章推荐
- Browse information is not available for this project 的烦恼
- keil mdk 编译弹窗错误:browse information of one or more files is not available
- VS2005智能设备项目的Bug:"The OutputPath property is not set for this project..."
- Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in
- 【原创】Eclipse无法启动,Version 1.4 of the JVM is not suitable for this project.Version 1.5
- VS2005智能设备项目的Bug:"The OutputPath property is not set for this project..."
- How to solve "The installation source for this product is not available" problem?
- [SharePoint知识库] 导出List为Template时,提示 The specified gallery is not available for this Web site collection.
- 禁止requests请求https的提示InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more
- Browse information of one or more files is not available
- FAQ: Why is file and line information available for some warnings in FxCop but not for others?
- vs编译项目报错:The OutputPath property is not set for this project
- VS2005 出现 The OutputPath property is not set for this project. 错误的解决方法
- No monitoring data is available because monitoring is not enabled for this deployment share
- the information provided for this listener is currently in use by other softw
- setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key name.
- 解决 No projects are available for deployment to this server!
- Delphi出现“borland license information was found,but it is not valid for delphi”的错误,无法运行的解决方法
- Release file is expired, Updates for this repository will not be applied.(资源索引文件过期问题)
- Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. T