如何从不同位置访问c#visual studio项目

时间:2023-01-16 15:43:38

I moved my visual studio project (Visual STudio 2010 > Projects > Project file) file to a different location (desktop). Then I tried to access the project but when I go to the form file, nothing loads except the form in visual studio. No design view, and I can't even compile it.

我将我的visual studio项目(Visual STudio 2010>项目>项目文件)文件移动到另一个位置(桌面)。然后我尝试访问该项目,但是当我转到表单文件时,除了visual studio中的表单之外什么都没有加载。没有设计视图,我甚至无法编译它。

How can I open the application like I normally did when it was in its original location?

如何打开应用程序,就像我在原始位置时通常所做的那样?

1 个解决方案

#1


0  

Why don't you move it back and then copy the whole folder it is in (project folder) to the desktop? Your other options are to edit the project file itself and change the paths to the project files or copy everything from the original folder to your desktop. I would go with my first recommendation.

为什么不将其移回然后将整个文件夹(项目文件夹)复制到桌面?您的其他选项是编辑项目文件本身并更改项目文件的路径或将所有内容从原始文件夹复制到桌面。我会按照我的第一个建议去做。

#1


0  

Why don't you move it back and then copy the whole folder it is in (project folder) to the desktop? Your other options are to edit the project file itself and change the paths to the project files or copy everything from the original folder to your desktop. I would go with my first recommendation.

为什么不将其移回然后将整个文件夹(项目文件夹)复制到桌面?您的其他选项是编辑项目文件本身并更改项目文件的路径或将所有内容从原始文件夹复制到桌面。我会按照我的第一个建议去做。