如何通过打开单个文件在VS 2008中打开项目文件 [英] How to open project files in VS 2008 by opening a single file

查看:123
本文介绍了如何通过打开单个文件在VS 2008中打开项目文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有包含一些文件夹以及一些aspx和aspx.vb文件的项目文件.
我没有任何解决方案文件或.sproj文件.
因此我需要一次打开一个文件,也无法调试整个项目或任何一个文件.
我是否必须生成项目文件或解决方案文件,
我只是想通过在VS 2008中打开一个文件来打开整个项目文件.
这样我就可以在解决方案资源管理器中查看所有文件夹结构和文件.
谢谢,
Ravindra

Hi
I have the project files which consist of some folders and some aspx and aspx.vb files.
I do not have any solution file or .sproj file in it.
so I need open a single file at a time and I can not debug the whole project or any single file also.
Do I have to generate a project file or solution file,
I just wanted to open the whole project file by opening a single file in VS 2008.
so that all the folder structure and the files I can view in solution explorer.
Thanks,
Ravindra

推荐答案

是否没有.vbproj文件?如果是这样,双击窗体资源管理器,该项目应在VS中打开.然后在下次保存时提示您创建解决方案. (从c#开始工作-从未使用过vb,但最奇怪的是,它是相同或相似的.)

.sln和相关文件也可能位于我的文档"中"Visual Studio 2008"下的文件夹中. Theet应该是一个名为"Projects"的文件夹(如果有内存的话),您可以在这里找到您的解决方案文件.
Is there not a .vbproj file? If so, double-click form explorer and the project should open in VS. You should then be propmpted to create a solution when next you save. (Working from c# - never used vb but it is, most liekely, the same or similar).

It might also be that the .sln and associated files are in a folder under ''Visual Studio 2008'' within ''My Documents''. Theet should be a folder called ''Projects'' (if memeory serves) and you may find your solution files here.


我没有可以在VS2008中打开的项目文件. .
I do not have any project file which file I can open in VS2008.


好像您有一个网站!

不用担心...只要打开您的VS.
文件->打开网站->选择该文件夹

大功告成所有文件都将在您的网站中,您可以运行/调试它.如果需要,还可以立即为该文件保存/创建一个解决方案文件.
Looks like you have a website with you!

No worries... just open your VS.
File -> Open website -> select that folder

You are done. All the files will be in your website and you can run/debug it. If needed can also save/create a solution file for the same now.


这篇关于如何通过打开单个文件在VS 2008中打开项目文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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