Skip to content
kianzarrin edited this page May 6, 2020 · 19 revisions

IDE

TM:PE is written in C# and requires an IDE such as Visual Studio or Rider.

We use the latest language version and target .NET Framework 3.5 (what C:SL uses, sorry).

Due to the size of the project, we use various analysers and style guides to avoid common mistakes and ensure consistency of formatting. Your IDE should automatically install any required items and show warnings inline and when building. If there are conflicting code style guidelines in your IDE, favour those generated by StyleCop.

Decompilers:

dnSpy

.NET browser and decompiler. Also useful for debugging. Requires manual install:

ILSpy

.NET browser and decompiler. Requires manual install:

dotPeek

.NET browser and decompiler. Requires manual install if not using Rider:

Roslyn Clr Heap Allocation Analyzer

Roslyn based C# heap allocation diagnostic analyzer that can detect explicit and many implicit allocations like boxing, display classes a.k.a closures, implicit delegate creations, etc. Requires manual install:

ReflectionIT.Analyzer.Structs

Prevents use of in for anything other than readonly struct (why?).

Clone this wiki locally