Skip to content

Commit

Permalink
Issue #71: Issue with multiple indirect relative paths (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-shilo committed Jun 29, 2017
1 parent ff5e924 commit e4dbec5
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 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.
Binary file modified Source/Build/cscs.exe
Binary file not shown.
4 changes: 4 additions & 0 deletions Source/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,9 @@ internal void Save(string fileName, bool throwOnError)
doc.DocumentElement.AppendChild(doc.CreateElement("reportDetailedErrorInfo")).AppendChild(doc.CreateTextNode(ReportDetailedErrorInfo.ToString()));
doc.DocumentElement.AppendChild(doc.CreateElement("enableDbgPrint")).AppendChild(doc.CreateTextNode(enableDbgPrint.ToString()));

if (ResolveRelativeFromParentScriptLocation != false)
doc.DocumentElement.AppendChild(doc.CreateElement("resolveRelativeFromParentScriptLocation")).AppendChild(doc.CreateTextNode(ResolveRelativeFromParentScriptLocation.ToString()));

if (hideOptions != HideOptions.HideAll)
doc.DocumentElement.AppendChild(doc.CreateElement("hideOptions")).AppendChild(doc.CreateTextNode(hideOptions.ToString()));

Expand Down Expand Up @@ -910,6 +913,7 @@ public static Settings Load(string fileName, bool createAlways)
node = data.SelectSingleNode("autoclass.decorateAlways"); if (node != null) settings.autoClass_DecorateAlways = node.InnerText.ToLower() == "true";
node = data.SelectSingleNode("hideCompilerWarnings"); if (node != null) settings.hideCompilerWarnings = node.InnerText.ToLower() == "true";
node = data.SelectSingleNode("inMemoryAsm"); if (node != null) settings.inMemoryAsm = node.InnerText.ToLower() == "true";
node = data.SelectSingleNode("resolveRelativeFromParentScriptLocation"); if (node != null) settings.ResolveRelativeFromParentScriptLocation = node.InnerText.ToLower() == "true";
node = data.SelectSingleNode("concurrencyControl"); if (node != null) settings.concurrencyControl = (ConcurrencyControl)Enum.Parse(typeof(ConcurrencyControl), node.InnerText, false);
node = data.SelectSingleNode("TargetFramework"); if (node != null) settings.TargetFramework = node.InnerText;
node = data.SelectSingleNode("defaultRefAssemblies"); if (node != null) settings.defaultRefAssemblies = node.InnerText;
Expand Down
21 changes: 18 additions & 3 deletions Source/cscscript/CSScriptLibrary.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4dbec5

Please sign in to comment.