Skip to content

Commit

Permalink
RC v3.26.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-shilo committed Jun 26, 2017
1 parent d5eda72 commit 69813c2
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
Binary file modified Source/Build/CSScriptLibrary.dll
Binary file not shown.
Binary file modified Source/Build/CSScriptLibrary.v3.5.dll
Binary file not shown.
6 changes: 3 additions & 3 deletions Source/Build/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,16 @@ copy ..\Build\CSScriptLibrary.xml %CS-S_DEV_ROOT%\lib\CSScriptLibrary.xml

rem -------------------------------------------------------------------------------------
cd ..\Build
rem need to ensure ConfigConsole.cs doesn't contain "{ 25D84CB0", which is a formatting CSScript.Npp artefact
cscs.exe /l /dbg /nl "..\ConfigConsole\buildCheck.cs" >> ..\Build\build.log
rem need to ensure ConfigConsole.cs doesn't contain "{ 25D84CB0", which is a formatting CSScript.Npp artifact
cscs.exe /l /dbg /pvdr:none /nl "..\ConfigConsole\buildCheck.cs" >> ..\Build\build.log

rem neet to remap CSSCRIPT_DIR as otherwise ConfigConsole will be linked against choco CS-S binaries
set old_css_dir=%CSSCRIPT_DIR%
set CSSCRIPT_DIR=%CS-S_DEV_ROOT%

ECHO Building ConfigConsole.exe:
ECHO Building ConfigConsole.exe: >> ..\Build\build.log
cscs.exe /nl /l /dbg /ew "..\ConfigConsole\ConfigConsole.cs"
cscs.exe /nl /l /dbg -pvdr:none /ew "..\ConfigConsole\ConfigConsole.cs"
move ..\ConfigConsole\ConfigConsole.exe ..\Build\ConfigConsole.exe
ECHO ------------ >> ..\Build\build.log
set CSSCRIPT_DIR=%old_css_dir%
Expand Down
Binary file modified Source/Build/cscs.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public static string PathCombine(string path, params string[] parts)
result = Path.Combine(result, item);
return result;
#else
var allParts = new[] { path ?? "" }.Concat(parts);
var allParts = new[] { path ?? "" }.Concat(parts.Select(x => x ?? ""));
return Path.Combine(allParts.ToArray());
#endif
}
Expand Down
1 change: 0 additions & 1 deletion Source/csscript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,6 @@ ICodeCompiler LoadCompiler(string scriptFileName, ref string[] filesToInject)
}
}

// Debug.Assert(false);
if (options.altCompiler == "")
options.altCompiler = LookupDefaultRoslynCompilerFile();
else if (options.altCompiler == "none")
Expand Down
4 changes: 3 additions & 1 deletion Source/dbg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@ void WriteObject(object obj)
break;
}

if (item is DictionaryEntry entry)
if (item is DictionaryEntry)
{
var entry = (DictionaryEntry)item;

write("[" + entry.Key + "]: ");
if (level < (depth + 1))
{
Expand Down
2 changes: 1 addition & 1 deletion Source/dbg.res.cs

Large diffs are not rendered by default.

0 comments on commit 69813c2

Please sign in to comment.