在Visual Basic中移动项目 [英] moving a project in visual basic

查看:65
本文介绍了在Visual Basic中移动项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2008中使用Visual Basic.
我有学生将一个vb项目的文件夹压缩并发送给我.然后,我将其解压缩并添加到我的项目中.由于路径已更改,它不会打开他们的任何工作.我什至看不到代码.
如果他们仅向我发送代码,则我必须重新创建表单.
他们在将其保存到跳转驱动器上,然后将跳转驱动器移动到硬盘上时也遇到问题驱动器号发生变化时,计算机也会发生变化.
我一直在寻求帮助,它指出要转到Studio 2008中找不到的图标.
使用打开的现有项目所得到的结果与路径相同已更改.
是否不可能给别人一个现有的项目?
我已经使用了导入/导出选项,但是用完了所有的猜测.

Using Visual Basic in Visual Studio 2008.
I have students zip the folder for a vb project and send it to me.  Then I unzip and add it to a project of mine.  It will not open any of their work as the path has changed.  I can't even see the code.
If they send me the code only then I have to recreate the forms.
They also have problems saving it on a jump drive, then moving that jump drive to a different computer as the drive letter changes.
I have looked for help and it states to go to icons that I can't find in studio 2008.
Using the open existing project gives the same result as the path has changed.
Is it impossible to give someone else an existing project?
I have gone in the import/export options but have run out of guesses.

推荐答案

当您说将其添加到我的项目中"时,您是否在资源管理器中使用文件复制将学生项目文件夹复制到解决方案文件夹中?  如果是这样,请在搜索框中找到显示所有文件和文件夹"您的解决方案的图标.一旦将它们全部显示出来,您可能会看到新内容已灰显".您应该能够右键单击它们,并将其包含在您的主解决方案中".
When you say "add it to a project of mine" are you using file copy in explorer to copy the student project folder into your solution folder?  If so, look for the little "show all files and folders" icon for you solution.  Once you are showing them all you will probably see that the new content is "greyed out" you should be able to right click on them and "include them in your master solution".


这篇关于在Visual Basic中移动项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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