how to find most used classes in Visual Studio solution [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Who knows how to find the most used classes (written/implemented, not referenced) in a Visual Studio solution? The solution contains a lot of projects. By 'most used' I mean the largest number of member invocations.
Thank you.

There are certain tools like NDepend which my help you found how much classes are coupled together. Depending on Visual Studio version (ex. 2013 Ultimate) you can use Analyze tool to Calculate code metrics and see class coupling.
Personally I would go for NDpened as it gives you a lot of feedback about your solution and dependencies.

Related

How package and distribute C# application [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I have to create a form for a task that is done by multiple people at the company I work for. Due to the circumstances, I have choosen Windows Forms and C# to make it. However, I'm not sure how I'm going to make the program available to my colleagues.
In Python, I use PyInstaller to create a .exe file and distribute my programs in a way that no one needs to install a Python interpreter to use it. Is there anything similar for C#?
Right click project and choose publish.
There’s a lot of tutorials about it.

How can I compile a C# code if my project is split into several source files? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I wrote a simple two-class project in C# and as I would do in Java I split the classes into two separate source files. When I try to run the source file with main, the compiler does not find the other file. What should I include to make it work?
I have one file with the class main and another file with a class Foo.cs.
They are in the same namespace
A good start would be to use an IDE like Visual Studio (The community edition is free) and it can be downloaded from Microsoft.
Create a new solution and project
Import the files (for VS, right click --> Add --> Existing item.
Compile the solution with the IDE

Define VisualStudio color theme by solution [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
is it possible to configurate Visual Studio so that the color theme depends on the current C#-Solution.
Why I need this? If have two similar solutions on disk (an experimental one and a productive one).
When both solutions are in use at same time then it can happen that I'm confused and write my experimental code into the productive one.
In order to avoid mistakes it would be nice if the one visual studio window theme is white and the other black.
If that is not supported, is there any similar feature?
Thank you for your help.
As far as I know, there's no such feature or plugin.
But, maybe this can help you
https://marketplace.visualstudio.com/items?itemName=mayerwin.RenameVisualStudioWindowTitle
http://erwinmayer.com/labs/visual-studio-2010-extension-rename-visual-studio-window-title
I'm using it to view, in VS title, TFS branch that I'm working on (prod or dev).

Does debugger have a load timer somewhere? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I just bought visual studio 2013, and am using the debugger. I am wondering if there is something built in that will tell you how long something takes to load--How long a variable takes to get populated, one breakpoint to another, etc. Is this possible somehow?
You can use Profilers for such statistics.
Have look at Analyzing Application Performance by Using Profiling Tools.
I would also recommend watching Visual Studio 2013 Performance and Diagnostic Hub
For good dotnet Profilers have a look at this post :
What Are Some Good .NET Profilers?
As a side note:
There are different profilers for different languages and chores, you need to specify what exactly you need, then you can pick their respective profilers.
For example if you needed to work with DataBases, you could use sqlsever profiler, or Oracle profiler,(all major DMBSs have their profilers) the same thing goes to c++, etc

A .NET scripting tool to write quick 'ad hoc' code [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I always find myself creating new projects in VS just to write a oneliner to test something out, or use it as a more dynamic calculator. Is there a tool out there that I can quickly open up, write my C# code and then see the result? Intellisense would be a nice option.
I remember using a C# python-mod addin for VS which was basically like a console that worked in a similar way, but I'd like to do it without creating projects etc.
Any ideas?
Is there a tool out there that I can quickly open up, write my C# code
and then see the result?
LinqPAD is defintely an option.
Intellisense would be a nice option
The paid version of LinqPAD provides also an intellisence.
CsharpRepl or gsharp (GUI version)

Categories