From 5d6299416f18389c8bac70088ab55a9758540898 Mon Sep 17 00:00:00 2001 From: Richard Lobb Date: Sun, 5 Jan 2025 15:14:12 +1300 Subject: [PATCH] Add Show differences to dotnet C# --- unsupportedquestiontypes/prototypes/PROTOTYPE_dotnet_c#.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unsupportedquestiontypes/prototypes/PROTOTYPE_dotnet_c#.xml b/unsupportedquestiontypes/prototypes/PROTOTYPE_dotnet_c#.xml index 0e5f15a1..f001c34f 100644 --- a/unsupportedquestiontypes/prototypes/PROTOTYPE_dotnet_c#.xml +++ b/unsupportedquestiontypes/prototypes/PROTOTYPE_dotnet_c#.xml @@ -1,6 +1,6 @@ - + PROTOTYPE_DOTNET_C# @@ -137,7 +137,7 @@ times['Build'] = time.perf_counter() # is a precheck. Error lines have the trailing identifier of the CS project # name stripped. compile_ok = result.returncode == 0 -grader_response = {} +grader_response = {'showdifferences': True} if not compile_ok: error_output = result.stderr + result.stdout error_lines = [re.sub(r' *\[/home/jobe/runs.*.csproj\] *', '', line) for line in error_output.splitlines()