Static Code Analyzer doesn't require to build [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Maybe this question doesn't make so much sense but I was wondering if there is out there any Static Code Analyzer (C/C++/C#) that warns me about issues on source code files without building the project itself...
I would love to flag the kind of issues that get flagged by Static Code Analyzers like FXCop (https://msdn.microsoft.com/en-us/library/bb429379(v=vs.80).aspx) without compiling...
Would that be possible somehow?
EDIT: Forgot to mention that I would like to do the Static Analysis out of the IDE which means I am looking for something standalone that doesn't need to be plugged into the IDE at all.

StyleCop https://stylecop.codeplex.com/
It scans your source code files and not the managed code. Meaning you need not compile it beforehand.

Related

After applying code obfuscation exe take 1-3 minutes to run [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have applied code obfuscation through ConfuserEx tool on .NET C# project exe open immediately before applying obfuscation but after applying obfuscation it take 1-3 minutes to open and code obfuscation also reduce size of exe from 59MB to 41MB. Please suggest me new obfuscation tool or tell me proper use of ConfuserEx.
I can only try to answer the second part:
File size reduction is somewhat expected, because obfuscation removes all debug information and renames all method and variable names to very short ones (i.e. A, B, C). In your case, it's pretty significant, though.

how to find performance issues in C# application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
My C# application does a lot of ClientHttp calls on many Task/Async/Await methods inside Paraller.ForEach block, but it performance is not perfect (application seems to slow down in time). How to investigate where are issues. What tools should be used? How to use these tools like Profiler?
External links are welcome.
How my application works:
It downloads images and zipped images from backend, unzip them if needed and saves them in directories on local hard drive. It downlaods about 7GB of images.
Check this samples from msdn ...
https://msdn.microsoft.com/en-us/library/mt674882.aspx

Is there any advanced compiler-compiler lexer/parser in C#? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I want to know Is there any compiler-compiler library that is written in C# or Not ?
I know Antlr & JavaCC but these library wrote in Java
Is there any library like antlr but in C# (or ported in C#) and open source or not ?
Can anybody introduce them ?
There is Irony. I've never used it myself though.
The C# compiler is itself written in C#, and with Roslyn, this has been made open source.
https://github.com/dotnet/roslyn
There is also a C# port of JavaCC, however, it's no longer maintained. The author switched to Irony instead. If you're just looking for code for examples, it would do that.
https://github.com/deveel/csharpcc

Visualize the class structure in a .NET dll [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I get a library with two DLLs, but without the detailed document. I want get a quick view of its class design.
I know that I can use the Object Browser in Visual Studio to look into them. But it is not very intuitive. Is there a tool that displays the dependency graph of the library, or more formally the UML diagram. The input is just the DLL.
Thanks.
Depending on the version of Visual Studio you have, you can use the class designer.
I assume you're after the class diagram? Other UML diagrams are very hard to reverse engineer.
You could have a try with several extensions for Visual Studio

A REPL environment for C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there a way to use C# interactively, inside a REPL environment like Python?
Have a look at C# script: http://www.csscript.net/
If by interactively you mean not having to manually compile or run as a console application, then yes. There are several tools that allow this.
The best, imo, is LinqPad. See: http://www.linqpad.net/
Mono offers some ways you can consider take a look at http://www.mono-project.com/CsharpRepl

Categories

Resources