Skip to content

Commit

Permalink
Release v3.27.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-shilo committed Jul 19, 2017
1 parent 7d5a1a5 commit cb0bfd8
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CS-Script supports both hosted and standalone execution model. It allows seamles
[Notepad++](https://github.com/oleg-shilo/cs-script.npp).
It can be run on Win, Linux and Mac. And it is compatible with .NET, Mono and .NET Core (ongoing development).

Over the long history of CS-Script it has been downloaded through Notepad++ plugin maneger alone over ![](http://www.csscript.net/statistics/css.npp.count.jpeg) times.
Over the long history of CS-Script it has been downloaded through Notepad++ plugin manager alone over ![](http://www.csscript.net/statistics/css.npp.count.jpeg) times.

_**For the all CS-Script details go to the project [Documentation Wiki](https://github.com/oleg-shilo/cs-script/wiki).**_
<hr/>
Expand Down
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: 2 additions & 2 deletions Source/CSSRoslynProvider/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.26.3.0")]
[assembly: AssemblyFileVersion("3.26.3.0")]
[assembly: AssemblyVersion("3.27.0.0")]
[assembly: AssemblyFileVersion("3.27.0.0")]
4 changes: 2 additions & 2 deletions Source/CSScriptLibrary/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.26.3.0")]
[assembly: AssemblyFileVersion("3.26.3.0")]
[assembly: AssemblyVersion("3.27.0.0")]
[assembly: AssemblyFileVersion("3.27.0.0")]

//
// In order to sign your assembly you must specify a key to use. Refer to the
Expand Down
4 changes: 2 additions & 2 deletions Source/NAnt.CSScript/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.26.3.0")]
[assembly: AssemblyFileVersion("3.26.3.0")]
[assembly: AssemblyVersion("3.27.0.0")]
[assembly: AssemblyFileVersion("3.27.0.0")]
2 changes: 1 addition & 1 deletion Source/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public void AddSearchDir(string dir)
/// <summary>
/// The value, which indicates if auto-generated files (if any) should should be hidden in the temporary directory.
/// </summary>
[Category("RuntimeSettings"), Description("The value, which indicates if auto-generated files (if any) should should be hidden in the temporary directory.")]
[Category("RuntimeSettings"), Description("The value, which indicates if auto-generated files (if any) should be hidden in the temporary directory.")]
public HideOptions HideAutoGeneratedFiles
{
get { return hideOptions; }
Expand Down
4 changes: 2 additions & 2 deletions Source/cscscript/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.26.3.0")]
[assembly: AssemblyFileVersion("3.26.3.0")]
[assembly: AssemblyVersion("3.27.0.0")]
[assembly: AssemblyFileVersion("3.27.0.0")]
4 changes: 2 additions & 2 deletions Source/css_config/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.26.3.0")]
[assembly: AssemblyFileVersion("3.26.3.0")]
[assembly: AssemblyVersion("3.27.0.0")]
[assembly: AssemblyFileVersion("3.27.0.0")]
4 changes: 2 additions & 2 deletions Source/cswscript/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("3.26.3.0")]
[assembly: AssemblyFileVersion("3.26.3.0")]
[assembly: AssemblyVersion("3.27.0.0")]
[assembly: AssemblyFileVersion("3.27.0.0")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// CS-Script default ref assemblies are not processed so need to add them explicitly
//css_ref System.Core
using System;
using System.Collections;
using System.Linq;
Expand All @@ -23,19 +21,16 @@ static public bool Compile(ref string code, string scriptFile, bool IsPrimaryScr
if (line.Trim().StartsWith("#define ")) //#define <pattern> <replacement>
{
string[] tokens = line.Split(" ".ToCharArray(), 3, StringSplitOptions.RemoveEmptyEntries);
hashDefs.Add(tokens[1], tokens[2]);

if (tokens.Count() > 2)
{
hashDefs.Add(tokens[1], tokens[2]);
content.AppendLine("//" + line);
continue;
}
content.AppendLine("//" + line);
}
content.AppendLine(line);
else
content.AppendLine(line);
}

code = content.ToString();
foreach (string key in hashDefs.Keys.Cast<string>().Reverse())
foreach (string key in hashDefs.Keys.Reverse())
code = code.Replace(key, hashDefs[key]);

return true;
Expand Down
3 changes: 2 additions & 1 deletion help.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
C# Script execution engine. Version 3.26.3.0.
C# Script execution engine. Version 3.27.0.0.
Copyright (C) 2004-2017 Oleg Shilo.

Usage: cscs <switch 1> <switch 2> <file> [params] [//x]
Expand Down Expand Up @@ -294,6 +294,7 @@ This directive will install CS-Script NuGet package.
Embedded script arguments. The both script and engine arguments are allowed except "/noconfig" engine command switch.
Example: //css_args -dbg, -inmem;
This directive will always force script engine to execute the script in debug mode.
Note: the arguments must be coma separated.
------------------------------------
//css_reference <file>;

Expand Down

0 comments on commit cb0bfd8

Please sign in to comment.