From 12dd8bec2eec70aac8cd273f94c6c717e89b9416 Mon Sep 17 00:00:00 2001 From: "Yi Zhang (CLR)" Date: Tue, 30 May 2017 20:48:58 -0700 Subject: Adding a repro.ilproj and update instructions to enable writing repro in IL --- Documentation/how-to-build-and-run-ilcompiler-in-visual-studio.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation') diff --git a/Documentation/how-to-build-and-run-ilcompiler-in-visual-studio.md b/Documentation/how-to-build-and-run-ilcompiler-in-visual-studio.md index e5d430f5b..908fe2c84 100644 --- a/Documentation/how-to-build-and-run-ilcompiler-in-visual-studio.md +++ b/Documentation/how-to-build-and-run-ilcompiler-in-visual-studio.md @@ -63,3 +63,7 @@ _Note: The size of NuGet packages is approximately 2.75 GB, so download might ta - Set breakpoint at repro::Program::Main in main.cpp - Build, run & step through as with any other C++ program + +## Writing your repro code in IL ## + +If you want to write your repro code using IL (instead of C#), you can search/replace `"repro\repro.csproj"` to `"repro\repro.ilproj"` in ILCompiler.sln which switches to repro.ilproj instead of repro.csproj. Just write your IL code in `repro.il` and build/debug as usual. All the instructions above still would work as expected. Just make sure don't check-in that change. -- cgit v1.2.3