空网站和git [英] empty website and git
问题描述
喜的是一个新手,以与Visual Studio GIT,
我与n层网站与多个项目,并在第一次我做它作为一个空的网站工作,所以在Visual Studio创建一个目录到文件,项目文件夹中的解决方案,VS2012和BLL的DAL和和网站页面在自己的网站目录为Visual Studio主目录。
因此,当我尝试添加该解决方案的源控件中显示了这一消息:
hi as am a newbie to GIT with visual studio , I'm working with an n-tier website with multiple projects and at first i make it as an empty website , so the visual studio make a directory to the solution in Projects folders for VS2012 at documents and The BLL and DAL and the website pages itself at websites directory for visual studio main directory . so when i trying to add the solution the source control this message shown up :
目前的解决方案具有位于解决方案文件夹以外的项目。
有项目会不会源git仓库控制。
所有项目添加到一个Git仓库,请巩固一个单一的文件夹下的所有项目
the current solution has projects that are located outside the solution folder. there projects will not be source controlled in the git repository. to add all the projects to a single Git repository please consolidate all projects under a single folder
我试图网站复制到我的解决方案文件夹,但什么都没有发生,当然:D
我怎样才能使这项工作?
i tried to copy the website into my solution folder but nothing happened of course :D how can i make this work ?
感谢
推荐答案
您可以在Visual Studio中的解决方案中删除的网站,然后添加现有项目来解决。否则,创建一个新的空网站,并输入解决方案目录作为网站而不是默认位置的位置。
You can delete the website from the solution in visual studio, and then 'add existing project' to solution. Otherwise create a new empty website and enter the solution directory as the location for the website instead of the default location.
这篇关于空网站和git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!