Skip to content

Releases: 3F/vsSolutionBuildEvent

v0.12.9

06 Oct 14:13
@3F 3F
Compare
Choose a tag to compare
  • FIXED: Critical bug with WPF designer of VS IDE. Error 25012 - process terminated unexpectedly.
  • FIXED: UI. Fixed problem when projects are not available in 'Execution order' list after loading solution.
  • CHANGED: MSBuild core. Native expressions now uses InvariantCulture by default. For other culture use CultureInfo, for example:
    $([System.DateTime]::Parse("08/21/2016", '$([System.Globalization.CultureInfo]::GetCultureInfo("en-US"))').ToBinary())
    See documentation for details.
  • CHANGED: Updated links to new public bug tracker, etc.
    Now, GitHub is primary place for this project - fork, star, and improve all of what you want !
    https://github.com/3F/vsSolutionBuildEvent

v0.12.8 /API v1.4

  • FIXED: Fixed bug with Isolated Environment - mismatch of project configurations.

  • FIXED: Fixed bug "Save changes to the following items?" VS IDE

  • FIXED: [FileComponent] Fixed bug with copying to internal directory for copy.directory:
    Avoids of recursive duplicates of destination when it is internal part of source D:\test -> D:\test\new

  • FIXED: Fixed incorrect variable names if used Global MSBuild properties like $(+name = ...).

  • FIXED: Fixed access to $(vsSolutionBuildEvent) for several projects.

  • FIXED: UI. Fixed default namespace for Wizard 'Automatic Version Numbering'.

  • FIXED: UI. Fixed bugs in "Waiting for completion" & "Hide process".

  • NEW: Support of ErrorList pane of Visual Studio - now see also the all errors/warnings here.

  • NEW: [MSBuild] Implemented Syntactic sugar += & -= - Increment & Decrement operators for numbers and strings
    ```
    $(n = 0)
    $(n += 3.14)
    $(n += $(n))

    $(desc = "Hello ")
    $(desc += "world !")
    ```
    The documentation here: http://vssbe.r-eg.net/doc/Scripts/MSBuild/#syntactic-sugar
    
  • NEW: [SBE-Scripts] Implemented new BoxComponent - Container of data for operations like a template, repeating, etc.
    #[Box iterate(i = 0; $(i) < 10; i += 1): ... ]
    repeat(expression condition [; boolean silent])
    void data.pack(string name, boolean eval): In
    ...
    The documentation here: http://vssbe.r-eg.net/doc/Scripts/SBE-Scripts/Components/BoxComponent/

  • NEW: [InternalComponent] added StartUpProject property to get/set the project by default or 'StartUp Project.

  • NEW: Added Context for Sln-Opened event to support of Early / Late Sln-Opened.
    All details in the documentation: http://vssbe.r-eg.net/doc/Events/SlnOpened/

  • NEW: [SBE-Scripts] Added new TryComponent (try/catch) to handle errors:

        #[try
        {
            ...
        }
        catch(err, msg)
        {
            $(err) - Type of Exception
            $(msg) - Error Message
            ...
        }]
    

    The documentation here: http://vssbe.r-eg.net/doc/Scripts/SBE-Scripts/Components/TryComponent/

  • NEW: Started support of Visual Studio 15 /tested on Enterprise Preview 4 (25618.00)

  • NEW: [FileComponent] copy.file - new extended signature of copy.file:
    void copy.file((string src | object srclist), string dest, bool overwrite [, object except])
    #[IO copy.file({ "bin\client.zip", "bin\server\*.*" }, "$(plugin)\beta", true, { "*debug*", "*.pdb" })]
    The documentation: http://vssbe.r-eg.net/doc/Scripts/SBE-Scripts/Components/FileComponent/#copy

  • NEW: Added additional tool-helpers: get.CIM.bat, CI.MSBuild.bat, gnt.bat, msbuild.bat

  • NEW: Added new special MSBuild properties:
    * vsSBE_CommonPath - Common path of library.
    * vsSBE_LibPath - Full path to library.
    * vsSBE_WorkPath - Working path for library.

  • CHANGED: C# Mode. IMSBuild: + getProject(string name);

  • CHANGED: C# Mode. IEnvironment: added direct access to EnvDTE80.DTE2 (+EnvDTE), Build.Evaluation.Project + prepared list of EnvDTE projects.

  • CHANGED: Added XML Documentation for main projects.

  • CHANGED: Updated 7z.Libs v16.02, AvalonEdit v5.0.3, NLog v4.3.8, Newtonsoft.Json v9.0.1

  • CHANGED: MSBuild colorization of errors/warnings for CIM, Devenv, etc.

  • CHANGED: Abort of build after first script error (from our engines).

  • CHANGED: Other trivial bug fixes and improvements. See log of commits.

  • NOTE: Available .NET 4.0 and .NET 4.5 assemblies. Look the Downlods page. http://vssbe.r-eg.net/Downloads/

  • NOTE: Public Issue Tracker will be soon moved on GitHub.

[API] v1.4

Binaries

http://vssbe.r-eg.net/Downloads/

  • bin_net40.zip:
    • Bridge_v1.4_[b8bc007][net40].zip
    • CI.MSBuild_v1.6_[b8bc007][net40].zip
    • ClientDemo_[b8bc007][net40]_(8224).zip
    • Devenv_v1.3_[b8bc007][net40].zip
    • get.CIM.bat
    • Provider_v3.0_[b8bc007][net40].zip
    • Release_notes.txt
    • vsSBE.CI.MSBuild.1.6.1209.nupkg
    • vsSolutionBuildEvent_v0.12.9.8224_[b8bc007][net40].vsix
  • bin_net45.zip:
    • Bridge_v1.4_[b8bc007][net45].zip
    • CI.MSBuild_v1.6_[b8bc007][net45].zip
    • ClientDemo_[b8bc007][net45]_(8225).zip
    • Devenv_v1.3_[b8bc007][net45].zip
    • get.CIM.bat
    • Provider_v3.0_[b8bc007][net45].zip
    • Release_notes.txt
    • vsSBE.CI.MSBuild.1.6.1209.nupkg
    • vsSolutionBuildEvent_v0.12.9.8225_[b8bc007][net45].vsix

public v0.12.7

20 Feb 21:21
@3F 3F
Compare
Choose a tag to compare

Changes

  • FIXED: MSBuild engine. Bug with the unescape of double quotes from simply text data. The most common problem for C# Mode etc.
  • FIXED: Properties by default for specific projects. [MSBuild core]
  • FIXED: Possible error - 'InvalidOperationException' This property has already been set and cannot be modified. (Logging event type)
  • FIXED: Fixes of incorrect behavior of special marker <#data> if it used 2 or more times. Symptoms: Breaking of SBE-container where it used.
  • NEW: Event types: 'Sln-Opened' & 'Sln-Closed'. When solution has been opened/closed.
  • NEW: [InternalComponent] new stdout & stderr properties.
    To get data from stdout/stderr for action which is executed asynchronously.
  • NEW: raw CoreCommand - 'property.set' & 'property.del'.
    Raises when is used the $(+name) & $(-name) See the documentation.

CI.MSBuild /1.6

  • FIXED: bug for Pre/Post-project event type ~ "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='').
  • NEW: Implemented the 'property.set' & 'property.del' for Sln-Opened & Sln-Closed event types.
  • CHANGED: Added 2 properties by default - vsSolutionBuildEvent & vssbeCIM as the versions of this.

Binaries

http://vssbe.r-eg.net/Downloads/

  • bin_net40.zip:
    • Bridge_v1.3_[48df3db][net40].zip
    • CI.MSBuild_v1.6_[48df3db][net40].zip
    • ClientDemo_[48df3db]net40.zip
    • Devenv_v1.3_[48df3db][net40].zip
    • Provider_v3.0_[48df3db][net40].zip
    • Release_notes.txt
    • vsSBE.CI.MSBuild.1.6.1207.nupkg
    • vsSolutionBuildEvent_v0.12.7.3805_[48df3db][net40].vsix

public v0.12.6

20 Feb 21:11
@3F 3F
Compare
Choose a tag to compare

Changes

  • FIXED: Bug with configuration for Isolated and other external Environments (CI.MSBuild, Devenv, etc.)
    - Failed Solution.Pre-binding: 'Object reference not set to an instance of an object.'
    - Failed build-raw: 'Object reference not set to an instance of an object.' ...
  • FIXED: MSBuild: Fixed incorrect evaluation from double quotes if used (, ) symbols.
    Evaluation from single quotes is still protected for compatibility with original logic.
    Because it can be different for ~
    $([MSBuild]::Multiply("$([System.Math]::Log(2))", 16)) -> 1,10903548889591E+16
    \                     \_(1) 0,693147180559945_/
    \_______________(2)__________________________________/


    $([MSBuild]::Multiply('$([System.Math]::Log(2))', 16)) -> 11,0903548889591
    \______________________(1)___________________________/

$([System.Math]::Exp(1.10903548889591E+16)) = ∞ 
$([System.Math]::Exp(11.0903548889591)) = 65535,9999999983

See the documentation for details.

  • FIXED: Possible null-reference exception when getting name from "Set as StartUp Project".
  • FIXED: SBEScripts-selector: not found component for handling with vsSBE & Core alias (InternalComponent)
  • FIXED: [FileComponent] Fixed BOM for all UTF-8 encodings when is used the replace methods.
  • NEW: Added SevenZipComponent for work with archives via 7-Zip engine (www.7-zip.org).
    Method signatures:
    - void pack.files(object files, string output [, object except][, enum format, enum method, integer level])
    - void pack.directory(string dir, string output [, enum format, enum method, integer level])
    - boolean check(string file [, string pwd])
    - void unpack(string file [, string output][, boolean delete][, string pwd]) ...
  • NEW: Added NuGetComponent for work with NuGet packages (nupkg) via GetNuTool logic. (SBE-Scripts)
    GetNuTool v1.3
    Method signatures:
    - void gnt.raw(string command) ...
  • NEW: Forcing evaluation with MSBuild engine from new MSBuildComponent. (SBE-Scripts)
  • NEW: [FileComponent] remote.download() to download files from remote server.
    Method signatures:
    - void remote.download(string addr, string output [, string user, string pwd]) ...
  • NEW: [FileComponent] copy() methods to copy selected files / directories to the destination. +mkdir
    Fast operations instead of xcopy etc.
    Method signatures:
    - void copy.file(string src, string dest, bool overwrite [, object except])
    - void copy.directory(string src, string dest, bool force [, bool overwrite]) ...
  • NEW: [FileComponent] delete() methods to delete selected files / directories.
    Method signatures:
    - void delete.files(object files [, object except])
    - void delete.directory(string dir, bool force) ...
  • NEW: [FileComponent] BOM (Byte-Order Mark) special names: utf-8-bom (0xEF 0xBB 0xBF) & utf-8
  • NEW: [MSBuild core] Global MSBuild properties $(+name = ...) &amp; $(-name = ...)
  • NEW: Added special marker <#data> ... </#data> to avoid broken container for unpaired symbols [, ] (SBE-Scripts)
  • NEW: UI. Added list of the MSBuild Properties in code completion. start with '$('<--
  • CHANGED: The ToolsVersion="4.0" now is used by default instead of 12.0 (Targets Mode - Template)
  • CHANGED: [FileComponent] Default encoding for all I/O operations - UTF-8 Without BOM
  • CHANGED: [FileComponent] Removed processing of tokens when is used the write operations.
  • CHANGED: Allowed using of the vsSBE panel from VS.Output Window. R/W operations. (OWPComponent)
  • CHANGED: Unescaping the quote characters from arguments by default. (SBE-Scripts)
  • CHANGED: Allowed evaluation of string arguments with MSBuild engine for:
    Components:
    - BuildComponent
    - FileComponent
    - FunctionComponent
    - NuGetComponent
    - SevenZipComponent
  • CHANGED: Allowed multiline definitions of all nodes. (SBE-Scripts)
  • CHANGED: Updated forms of Boolean type. See the documentation. (SBE-Scripts)
  • CHANGED: Updated NLog v4.2.3 & Newtonsoft.Json v8.0.2

Binaries

http://vssbe.r-eg.net/Downloads/

  • bin_net40.zip:
    • Bridge_v1.3_[6ad0511][net40].zip
    • CI.MSBuild_v1.5_[6ad0511][net40].zip
    • ClientDemo_[6ad0511]net40.zip
    • Devenv_v1.3_[6ad0511][net40].zip
    • Provider_v3.0_[6ad0511][net40].zip
    • Release_notes.txt
    • vsSBE.CI.MSBuild.1.5.1206.nupkg
    • vsSolutionBuildEvent_v0.12.6.5177_[6ad0511][net40].vsix