我有一个ASP.NET Core应用程序,将使用一些类库项目(例如domain,repositories等)。
这些类库也将用于其他云应用程序中,该应用程序作为工作角色运行,这就是为什么我希望将它们分开并保持其自己的开发进程,并不一定依赖于ASP.NET Core应用程序。
说到这里,ASP.NET Core项目应该意识到对类库项目所做的任何更改,这就是为什么我想将它们链接到ASP.NET项目的解决方案中的原因。
如何组织这些项目文件夹才是最好的方式?目前我的文件夹结构如下:
我的项目文件夹
--- MyAspNetCoreProject(有自己的解决方案)
--- MyBackendProject(有自己的解决方案,其中包含以下项目)
----- DomainProject
----- RepositoriesProject
当我尝试“添加现有项目”以将我的后端项目链接到我的ASP.NET Core项目时,我收到以下消息:
引用:The project that you are attempting to add to source control may cause other source control users to have difficulty opening this solution or getting newer versions of it. To avoid this problem, add the project from a location below the binding root of the other source controlled projects in the solution.
这些类库也将用于其他云应用程序中,该应用程序作为工作角色运行,这就是为什么我希望将它们分开并保持其自己的开发进程,并不一定依赖于ASP.NET Core应用程序。
说到这里,ASP.NET Core项目应该意识到对类库项目所做的任何更改,这就是为什么我想将它们链接到ASP.NET项目的解决方案中的原因。
如何组织这些项目文件夹才是最好的方式?目前我的文件夹结构如下:
我的项目文件夹
--- MyAspNetCoreProject(有自己的解决方案)
--- MyBackendProject(有自己的解决方案,其中包含以下项目)
----- DomainProject
----- RepositoriesProject
当我尝试“添加现有项目”以将我的后端项目链接到我的ASP.NET Core项目时,我收到以下消息:
引用:The project that you are attempting to add to source control may cause other source control users to have difficulty opening this solution or getting newer versions of it. To avoid this problem, add the project from a location below the binding root of the other source controlled projects in the solution.