Dotnet Project and solution statistics

About this Blog

As a dot net programmer, we should know few important statistics of the application we are working on. This ensures that application is consistent in nature. In application with fewer projects it is earlier to get these statistics manually but in larger projects it become un productive task however still important. As an example multiple team member may add new projects with varying .Net framework version, programming language version etc.. The initial version of this utility can help you generate these statistics in a second and in a consistent form.

Below blog will cover

Prerequisite for this utility

How to use this utility

Result

Prerequisite for this utility

  1. You need .Net framework version minimum 4.0.0 to run this utility.
  2. You also need ‘command prompt’ window to view the result.
  3. Dotnet solution file which has multiple projects in it.

How to use this utility

Open the command prompt and go to the path where this utility exe is kept and type Dotnetversion.exe

Press ‘Enter’ key.

About the application is displayed:

Press any key to continue…

Enter the Dotnet solution file path. If Solution file path is same as path where this utilty Dotnetversion.exe file is kept simply press Enter ELSE type the accurate path where dotnetsolution file is kept, like D:\ABC\XYZ\ etc..

Once solution file path is specified, next option is to enter the Solution file name. Again, if only 1 file exist at Selected folder path simply Press ‘Enter’ key ELSE specify the solution file name. No need to specify the file name extension.

Once both the solution file path and solution file name is given stats collection processing will start.

Result

  1. The stats will show how many projects current solution had.
  2. Programming language of the project like CSharp/VB.Net.
  3. Programming language version. For CSharp projects it can be like 4 or 5 or 6 etc. For Vb.net projects it can be 11 or 12 or 13 etc.
  4. Dotnet framework version of the project
  5. Project File name

As an example, I executed it on sample solution on my machine an both projects are .net framework 4.0 based.

Attached the exe file in this blog Download Link. Feel free to ask for questions.

Advertisements

Parent Child type hierarchy for .net exe/ dll

I had written this utility last year on:
Parent-child-type-hierarchy-utility-tool-in-net
Further worked on the nuget package of this utility and v0.0.0.8 is now available at link: Nuget Typehierarchy package link

Nuget Typehierarchy