JSHint-like tool, but for C# [duplicate] - c#

This question already has answers here:
What static analysis tools are available for C#? [closed]
(9 answers)
Tools for static analysis for C# code [closed]
(9 answers)
Closed 9 years ago.
I've been looking for somethig like JsHint for a while now, but aimed at verifying whether a team's coding conventions are being followed in C# instead of Javascript. I've been googlinghigh and low but I can't find anything. Do you fellow overflowers know of such a tool?
I'm ultimately thinking about making one of my own, should none currently exist.

Assuming you are using Visual Studio, stylecop is one great linter tool for C#.

You're looking for Code Analysis / FxCop.

Related

How can I make the published code of EXE as readable in C# asp.net. Is there a way? [duplicate]

This question already has answers here:
How do I decompile a .NET EXE into readable C# source code?
(9 answers)
Closed 6 years ago.
I lost the original source code of my .exe. Now I want to edit some more changes. Is there is any way to make the published code of .exe as readable in C# asp.net?
Reflector and its add in FileDisassembler
Reflector will show the source code and FileDisassembler will convert it into Visual Studio Solution.
Please check out this link.
And for more knowledge you can check this link as well.

How to obfuscate a dll in c# and then use it to make another program [duplicate]

This question already has answers here:
How to secure an API written in .Net
(4 answers)
How can I obfuscate my c# code, so it can't be deobfuscated so easily? [closed]
(4 answers)
Closed 6 years ago.
im currently using ConfuserEx to obfuscate most of my programs. But now i want to sell someone a DLL, but im having a hard time obfuscating the DLL and then being able to use it on Visual Studio.
Is this a impossible thing or can it be done with pinvoke or something more advanced?

How to edit C# code in a .net DLL [duplicate]

This question already has answers here:
Edit .NET assembly and recompile
(3 answers)
Closed 7 years ago.
I have used many decompilers but have too little experience to understand where it is that I can edit the c# code of specific objects within the DLL. Is it possible to simply edit the C# code and save the changes? If so how could I go about doing this?
TL:DR
How do I edit C# code inside a DLL that I do not have the source code for?
You can edit & patch .NET DLL/EXE with https://github.com/0xd4d/dnSpy
Worked perfectly well for me.

Integration of C# and prolog [duplicate]

This question already has answers here:
Integrating Prolog with C# [closed]
(7 answers)
Closed 9 years ago.
I have to write a program with c# in visual studio. I want to call Prolog functions from C# code. Is there any way of this? Thanks so much.
You can use for example: Prolog.NET or P# or A COM Wrapper

C# MVC powershell [duplicate]

This question already has answers here:
Execute PowerShell Script from C# with Commandline Arguments
(9 answers)
Closed 9 years ago.
I'm trying to build a C# MVC site and integrate Powershell scripts. The idea is to use the scripts I've already written. I cannot find the way to do this.
Is there someone who knows where to find a documentation?
THANK YOU VERY VERY much.
Paulo
Really simple code project solution that should help you out
http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C

Categories