将 Web 项目包装在解决方案文件中,以及 CVS

发布于 2024-08-03 22:00:52 字数 357 浏览 1 评论 0原文

这很可能是有史以来问过的最愚蠢的问题。我们的客户希望我们将解决方案文件(一个 .sln 和 .suo)整齐地放入比实际 Web 项目高 1 个目录中。我们甚至没有 Web 项目文件,它只是 IIS 中的一个网站设置,我们可以通过单击“文件”->“Visual Studio”(2008,如果重要的话)从 Visual Studio 打开该网站。打开网站并浏览到根目录(c:\ src \ clientname \ src \ web \ - 这是那里的选择,不是我的)。

现在,我如何将这个现有的 Web 项目(没有项目文件)包装到位于 c:\src\clientname\src\ 的新空白解决方案中?

我喜欢 .Net,但有时配置问题让我感到困惑......

This could quite possibly be the dumbest question ever asked. Our client wants us to have a Solution file (one .sln and .suo) neatly put into 1 directory higher than the actual web project. And we don't even have a Web Project file, it's just a website setup in IIS that we open from Visual Studio (2008 in case it matters) by clicking on File -> Open Website and browsing to the root directory (c:\src\clientname\src\web\ -- that's there choice, not mine).

Now, how would I wrap this existing web project, without a project file, into a new blank solution located in c:\src\clientname\src\?

I love .Net, but sometimes the configuration hoops get me all twisted up...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

£烟消云散 2024-08-10 22:00:52

它应该像打开网站文件夹一样简单,文件>;另存为并选择 SLN 文件所在的位置。 SLN 文件不需要与网站本身相关。

It should be as simple as opening the website folder, File > Save As and pick where you'd like the SLN file to sit. The SLN file does not need to be relative to the website itself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文