How to structure all applications in Visual Studio?

Example

I am working on a project that consists of three separate parts (ASP.NET MVC, WinForms, Silverlight) and 15 projects (Common, Api, Services, Repository and WinForm CAB).

Solutions

1) This whole project in one solution
2) For each part we have a solution

What is the best way to solve solutions and projects in Visual Studio?

Firstly, great if I do refactoring. Secondly, this is good for better clarity.

+3
source share
7 answers

I do both. You can add one project to several solutions.

+1
source

. , , ..

SolutionInfo.cs Solution Items . AssemblyInfo.cs. 3 AssemblyInfo: AssemblyTitle, AssemblyDescription, Guid. .

.

, , "", "", "Sport.Common", "Sport.Web" ..

, , . , .

+1

(), . , , . , , .

0

, (exe ). , .

.

0

, , ASP.NET MVC, silverlights winform .sln .

, , Resharper, , cs csprojects ( ), ( xxx yyy)

0

, , (, , ..).

Presentation Web, Windows, Silverlight. .

. , .

, 15-20 , .

0

I would really think that the first would be better for clarity. The reason is that it’s easier to say if you change the general project for MVC, if the compiler yells at you for the WinForm project. In addition, you should be able to configure the debugger so that when you click Debug it debugs only the selected project (select MVC, WinForm or Silverlight before clicking the debug button). This makes it easy for you to debug MVC, Winform, and Silverlight without having to change your debugging settings.

0
source

Source: https://habr.com/ru/post/1724481/


All Articles