问题描述
限时送ChatGPT账号..我正在 Visual Studio 上开发一个网站,我对 Visual Studio 有点陌生,我正在尝试将我网站的整个目录移动到我的谷歌驱动器,以便我可以在多台计算机上工作.
I am working on a website on visual studio, I am a little new to visual studio and I am trying to move my whole directory for my website to my google drive so I can work on it on multiple computers.
我将如何更改位于 Visual Studios 项目文件中的源文件.
How would I go about changing the source files located in the project file for visual studios.
或者有更简单的方法吗?
Or is there an easier way?
推荐答案
最简单的方法是在 Visual Studio 中删除项目,然后添加现有项目并指向新位置.
Easiest way is to Remove the project in Visual Studio and then Add Existing Project and point to your new location.
您也可以使用文本编辑器来编辑 .sln
文件.文件顶部定义了 Project
元素:
You could alternatively use a text editor to edit the .sln
file. The top of the file defines Project
elements:
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") =
"SignalR.Backplane", "SignalR.Backplane\SignalR.Backplane.csproj",
"{EBF95949-81E0-4571-8014-E91B7577FB07}"
EndProject
第二个属性是表示项目的 csproj 文件的路径(相对或绝对).
The second property is the path (relative or absolute) to the csproj file representing the project.
这篇关于更改项目 Microsoft Visual Studio 的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论