English 中文(简体)
如何正确地将解决方案文件移动到目录层次结构中?
原标题:How to move up solution files in directory hierarchy correctly?
  • 时间:2010-02-20 20:55:25
  •  标签:
  • c#
  • asp.net

由于某种原因,我有一个只有一个项目的解决方案,解决方案文件与项目位于同一目录中。我认为这很不好看,想通过将解决方案文件移动到更高级的目录中来改变它。

现在,我已经编辑了一个单行:

Project("{FAE04EC0-AAAA-AAAA-AAAA-00C04F79EFBC}") = "projectname", "projectname.csproj", "{5D5A753D-AAAA-AAAA-AAAA-C535851E8DC8}"

更改为

Project("{FAE04EC0-AAAA-AAAA-AAAA-00C04F79EFBC}") = "projectname", "directoryname/projectname.csproj", "{5D5A753D-AAAA-AAAA-AAAA-C535851E8DC8}"

看起来有效。

我是否有必要改变这种状况? 我感到我错过了。 我是否误解了什么?

最佳回答

那就是我在移动slns时所做的一切。它从未让我失望过。

问题回答

项目与解决方案是独立的。

所以你没有错过什么。解决方案只是将项目轻松链接在一起的好方式。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签