diff options
author | Yi Zhang (CLR) <yizhang82@users.noreply.github.com> | 2017-05-31 06:48:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-31 06:48:58 +0300 |
commit | 12dd8bec2eec70aac8cd273f94c6c717e89b9416 (patch) | |
tree | ff3b79cb6c5111972e74441f0c5954a2353eda3d /Documentation | |
parent | 7a06b302581f7c56eff2ab9fa5561686ffe7077d (diff) |
Adding a repro.ilproj and update instructions to enable writing repro in IL
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/how-to-build-and-run-ilcompiler-in-visual-studio.md | 4 |
1 files changed, 4 insertions, 0 deletions
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. |