Mass Refactoring C #

I want to be able to reorganize 500 projects at a time.

I have about 20 solutions, and I do not have the main solution with everything, because I did not figure out a way to automatically create .

Any suggestions?

thanks

Edit

I tried codeplex's slnTools to create a solution, and the visual studio pretty much shot the entire operating system. Not sure if this solution was not created properly or was just a limitation of Windows / Visual Studio.

+3
source share
5 answers

? ReSharper, , ... , , .

...

+1

, , :

    Dim d As New System.IO.DirectoryInfo(System.IO.Directory.GetCurrentDirectory())
    For Each f As System.IO.FileInfo In d.GetFiles("*.*proj")
        DTE.Solution.AddFromFile(f.FullName)
    Next
    DTE.Solution.Close(True)

-, - NDepend . , . , , .

, - . , , , .

  • 1 . .
  • .
  • 2 . .

... , . , .

, , . .

+3

/, , .

, / . , , 20 .

  • , .
  • DLL .
  • , - , .
+1

, , .

slnTools, , sln , .sln .

, Visual Studio 500 .

0

, . # , suce.

Visual studio ...

0

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


All Articles