如何在Visual Studio中的硬盘上找到解决方案/项目的位置?

时间:2022-07-25 20:03:26

I want to know where the solution/project is stored on my hard drive.

我想知道解决方案/项目存储在硬盘上的位置。

I would have thought right clicking on the project from within Visual Studio would have the information on where it is stored on my hard drive, but it doesn't.

我原本以为在Visual Studio中右键单击该项目会获得有关它存储在我的硬盘上的位置的信息,但事实并非如此。

5 个解决方案

#1


1  

Click on the project itself in the solution explorer and in the properties window it lists the project folder.

在解决方案资源管理器中单击项目本身,然后在属性窗口中列出项目文件夹。

Only works if you've actually saved the project though. I.e. newly created projects don't have a location.

仅在您实际保存项目时才有效。即新创建的项目没有位置。

#2


0  

Start up Visual Studio and go to Tools->Options.

启动Visual Studio并转到“工具” - >“选项”。

In the dialog box that opens, make sure to check the box that displays "Show All Settings."

在打开的对话框中,确保选中显示“显示所有设置”的框。

From there, you should find a setting called "Projects and Solutions" which will have the list of default locations for projects, templates, etc.

从那里,你应该找到一个名为“项目和解决方案”的设置,它将包含项目,模板等的默认位置列表。

#3


0  

When you have loaded you project in Visual Studio select the solution in the Solution explorer window and then select Properties window. You will see "Path" in the Properties window which points to the actual file.

在Visual Studio中加载项目后,在“解决方案资源管理器”窗口中选择解决方案,然后选择“属性”窗口。您将在“属性”窗口中看到指向实际文件的“路径”。

#4


0  

Open one of the files in your Solution and hover over the tab in the code window. The full path will show up in a tooltip.

打开解决方案中的一个文件,将鼠标悬停在代码窗口中的选项卡上。完整路径将显示在工具提示中。

You can also go to Window | Windows... which shows you full path to all open files.

你也可以去Window | Windows ...显示所有打开文件的完整路径。

#5


0  

One way is to select the project in the solution explorer and then click File / Save As or press F4 and view the 'Project Folder' property.

一种方法是在解决方案资源管理器中选择项目,然后单击文件/另存为或按F4并查看“项目文件夹”属性。

#1


1  

Click on the project itself in the solution explorer and in the properties window it lists the project folder.

在解决方案资源管理器中单击项目本身,然后在属性窗口中列出项目文件夹。

Only works if you've actually saved the project though. I.e. newly created projects don't have a location.

仅在您实际保存项目时才有效。即新创建的项目没有位置。

#2


0  

Start up Visual Studio and go to Tools->Options.

启动Visual Studio并转到“工具” - >“选项”。

In the dialog box that opens, make sure to check the box that displays "Show All Settings."

在打开的对话框中,确保选中显示“显示所有设置”的框。

From there, you should find a setting called "Projects and Solutions" which will have the list of default locations for projects, templates, etc.

从那里,你应该找到一个名为“项目和解决方案”的设置,它将包含项目,模板等的默认位置列表。

#3


0  

When you have loaded you project in Visual Studio select the solution in the Solution explorer window and then select Properties window. You will see "Path" in the Properties window which points to the actual file.

在Visual Studio中加载项目后,在“解决方案资源管理器”窗口中选择解决方案,然后选择“属性”窗口。您将在“属性”窗口中看到指向实际文件的“路径”。

#4


0  

Open one of the files in your Solution and hover over the tab in the code window. The full path will show up in a tooltip.

打开解决方案中的一个文件,将鼠标悬停在代码窗口中的选项卡上。完整路径将显示在工具提示中。

You can also go to Window | Windows... which shows you full path to all open files.

你也可以去Window | Windows ...显示所有打开文件的完整路径。

#5


0  

One way is to select the project in the solution explorer and then click File / Save As or press F4 and view the 'Project Folder' property.

一种方法是在解决方案资源管理器中选择项目,然后单击文件/另存为或按F4并查看“项目文件夹”属性。