Visual Studio 2010和.bsc文件 [英] Visual Studio 2010 and .bsc file

查看:196
本文介绍了Visual Studio 2010和.bsc文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Visual C ++ 2010中使用开源Mozilla项目.该项目需要基于UNIX的构建工具,因此无法直接为其创建Visual Studio项目.我必须使用与项目捆绑在一起的命令行生成文件(makefile,configure脚本等)来使用cl.exe构建项目. (这是由于make实用程序生成了一些.h文件).

I'm using an open source Mozilla project in Visual C++ 2010. The project requires UNIX based build tools and therefore I cannot create a Visual Studio project for it directly. I must use the command line build files (makefile, configure script, etc) bundled with the project to build the project using cl.exe. (This is due to the fact that some .h files are generated by the make utilities.)

问题是,在不创建Visual Studio项目的情况下,如何使用Visual Studio中提供的"F12转到定义"功能浏览项目源文件?我知道我可以使用/FR编译器选项来生成.bsc文件.但是,我还发现Visual Studio 2010中的对象浏览器似乎不支持.bsc文件.当我直接使用Visual Studio 2010打开.bsc文件时,它显示未注册类,正在使用CLSID查找对象:{D9B3211D-E57F-4426-AAEF-30A806ADD397}.

The problem is, without creating a Visual Studio project, how do I browse through the project source files using say the "F12 Go To Definition" feature available in Visual Studio? I know I can generate a .bsc file using the /FR compiler option. But, I also found that the Object Browser in Visual Studio 2010 doesn't seem to support a .bsc file. When I open a .bsc file directly using Visual Studio 2010, it says "Class not registered, Looking for object with CLSID: {D9B3211D-E57F-4426-AAEF-30A806ADD397}.

我们如何在Visual Studio 2010中使用.bsc文件?

How do we use a .bsc file under Visual Studio 2010?

推荐答案

不幸的是,Visual Studio 2010+不再支持BSC.

Unfortunately BSC is not supported anymore for Visual Studio 2010+

更多详细信息: http://connect .microsoft.com/VisualStudio/feedback/details/514470/bsc-files-无法使用

这篇关于Visual Studio 2010和.bsc文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆