Skip to content

Commit a7bae2f

Browse files
committed
public release v1.2
* 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: 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: [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) Please read here: 3F/vsSolutionBuildEvent#36 Preview 5: We still do not know about the final decision of the team. It will be considered later. * 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: gnt.bat, msbuild.bat * NEW: Added new special MSBuild properties: * `vsCE_CommonPath` - Common path of library. * `vsCE_LibPath` - Full path to library. * `vsCE_WorkPath` - Working path for library. * 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: 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: Abort build after first script error (from our engines). * CHANGED: Updated 7-zip v16.04, AvalonEdit v5.0.3, NLog v4.3.10, Newtonsoft.Json v9.0.1 * NOTE: Now available .NET 4.0 and .NET 4.5 assemblies. Look the Downlods page. http://vsce.r-eg.net/Downloads/ * NOTE: Reviewed with vsSolutionBuildEvent engine v0.12.9
1 parent 19b6236 commit a7bae2f

File tree

4 files changed

+96
-9
lines changed

4 files changed

+96
-9
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.2.0

.vssbe

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@
125125
"Mode": {
126126
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
127127
"Type": "Script",
128-
"Command": "#[\"\n Prepares data - versions, revBuild & information from git\n\"]\n\n#[var tStart = $([System.DateTime]::Parse(\"2016/02/24\").ToBinary())]\n#[var tNow = $([System.DateTime]::UtcNow.Ticks)]\n#[var revBuild = $([System.TimeSpan]::FromTicks($([MSBuild]::Subtract($(tNow), $(tStart)))).TotalMinutes.ToString(\"0\"))]\n\n#[var tplVersion = #[File get(\"Version.tpl\")]]\n\n#[var pDir = vsCommandEvent/]\n#[var numCE = #[File get(\".version\")]]",
128+
"Command": "#[\"\n Prepares data - versions, revBuild & information from git\n\"]\n\n#[var tStart = $([System.DateTime]::Parse(\"2016/10/12\").ToBinary())]\n#[var tNow = $([System.DateTime]::UtcNow.Ticks)]\n#[var revBuild = $([System.TimeSpan]::FromTicks($([MSBuild]::Subtract($(tNow), $(tStart)))).TotalMinutes.ToString(\"0\"))]\n\n#[var tplVersion = #[File get(\"Version.tpl\")]]\n\n#[var pDir = vsCommandEvent/]\n#[var numCE = #[File get(\".version\")]]",
129129
"Command__": [
130130
"#[\"",
131131
" Prepares data - versions, revBuild & information from git",
132132
"\"]",
133133
"",
134-
"#[var tStart = $([System.DateTime]::Parse(\"2016/02/24\").ToBinary())]",
134+
"#[var tStart = $([System.DateTime]::Parse(\"2016/10/12\").ToBinary())]",
135135
"#[var tNow = $([System.DateTime]::UtcNow.Ticks)]",
136136
"#[var revBuild = $([System.TimeSpan]::FromTicks($([MSBuild]::Subtract($(tNow), $(tStart)))).TotalMinutes.ToString(\"0\"))]",
137137
"",
@@ -353,11 +353,11 @@
353353
"Mode": {
354354
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
355355
"Type": "Script",
356-
"Command": "#[IO copy.file(\r\n \"$(pDir)bin\\$(cfg)\\vsCommandEvent.vsix\", \r\n \"$(odir)vsCommandEvent_v$(numCE)_[$(branchSha1)][$(netStamp)].vsix\", \r\n true)]",
356+
"Command": "#[IO copy.file(\n \"$(pDir)bin\\$(cfg)\\vsCommandEvent.vsix\", \n \"$(odir)vsCommandEvent_v$(numCE)_$(branchSha1)_$(netStamp).vsix\", \n true)]",
357357
"Command__": [
358358
"#[IO copy.file(",
359359
" \"$(pDir)bin\\$(cfg)\\vsCommandEvent.vsix\", ",
360-
" \"$(odir)vsCommandEvent_v$(numCE)_[$(branchSha1)][$(netStamp)].vsix\", ",
360+
" \"$(odir)vsCommandEvent_v$(numCE)_$(branchSha1)_$(netStamp).vsix\", ",
361361
" true)]"
362362
]
363363
}

changelog.txt

Lines changed: 90 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,94 @@
1+
- - - - - - - -
12
vsCommandEvent
2-
______________
3+
- - - - - - - -
34

4-
[v1.1.0] 2016.02.24
5+
[v1.2] 2016.10.19
6+
7+
* FIXED: Fixed bug "Save changes to the following items?" VS IDE
8+
* FIXED: [FileComponent] Fixed bug with copying to internal directory for `copy.directory`:
9+
Avoids of recursive duplicates of destination when it is internal part of source `D:\test -> D:\test\new`
10+
11+
* FIXED: Fixed incorrect variable names if used Global MSBuild properties like `$(+name = ...)`.
12+
* FIXED: UI. Fixed bugs in "Waiting for completion" & "Hide process".
13+
* NEW: Support of ErrorList pane of Visual Studio - now see also the all errors/warnings here.
14+
* NEW: [MSBuild] Implemented Syntactic sugar `+=` & `-=` - Increment & Decrement operators for numbers and strings
15+
```
16+
$(n = 0)
17+
$(n += 3.14)
18+
$(n += $(n))
19+
20+
$(desc = "Hello ")
21+
$(desc += "world !")
22+
```
23+
The documentation here: http://vssbe.r-eg.net/doc/Scripts/MSBuild/#syntactic-sugar
24+
25+
* NEW: [SBE-Scripts] Implemented new BoxComponent - Container of data for operations like a template, repeating, etc.
26+
```
27+
#[Box iterate(i = 0; $(i) < 10; i += 1):
28+
...
29+
]
30+
```
31+
`repeat(expression condition [; boolean silent])`
32+
`void data.pack(string name, boolean eval): In`
33+
...
34+
The documentation here: http://vssbe.r-eg.net/doc/Scripts/SBE-Scripts/Components/BoxComponent/
35+
36+
* NEW: [InternalComponent] added StartUpProject property to get/set the project by default or 'StartUp Project.
37+
* NEW: [SBE-Scripts] Added new TryComponent (try/catch) to handle errors:
38+
```
39+
#[try
40+
{
41+
...
42+
}
43+
catch(err, msg)
44+
{
45+
$(err) - Type of Exception
46+
$(msg) - Error Message
47+
...
48+
}]
49+
```
50+
The documentation here: http://vssbe.r-eg.net/doc/Scripts/SBE-Scripts/Components/TryComponent/
51+
52+
* NEW: Started support of Visual Studio 15 /tested on Enterprise Preview 4 (25618.00)
53+
Please read here: https://github.com/3F/vsSolutionBuildEvent/issues/36
54+
Preview 5: We still do not know about the final decision of the team. It will be considered later.
55+
56+
* NEW: [FileComponent] copy.file - new extended signature of `copy.file`:
57+
`void copy.file((string src | object srclist), string dest, bool overwrite [, object except])`
58+
```
59+
#[IO copy.file({
60+
"bin\client.zip",
61+
"bin\server\*.*"
62+
},
63+
"$(plugin)\beta",
64+
true,
65+
{
66+
"*debug*",
67+
"*.pdb"
68+
})]
69+
```
70+
The documentation: http://vssbe.r-eg.net/doc/Scripts/SBE-Scripts/Components/FileComponent/#copy
71+
72+
* NEW: Added additional tool-helpers: gnt.bat, msbuild.bat
73+
* NEW: Added new special MSBuild properties:
74+
* `vsCE_CommonPath` - Common path of library.
75+
* `vsCE_LibPath` - Full path to library.
76+
* `vsCE_WorkPath` - Working path for library.
77+
78+
* CHANGED: MSBuild core. Native expressions now uses InvariantCulture by default. For other culture use CultureInfo, for example:
79+
```
80+
$([System.DateTime]::Parse("08/21/2016", '$([System.Globalization.CultureInfo]::GetCultureInfo("en-US"))').ToBinary())
81+
```
82+
See documentation for details.
83+
84+
* CHANGED: C# Mode. IMSBuild: + getProject(string name);
85+
* CHANGED: C# Mode. IEnvironment: added direct access to EnvDTE80.DTE2 (+EnvDTE), Build.Evaluation.Project + prepared list of EnvDTE projects.
86+
* CHANGED: Abort build after first script error (from our engines).
87+
* CHANGED: Updated 7-zip v16.04, AvalonEdit v5.0.3, NLog v4.3.10, Newtonsoft.Json v9.0.1
88+
* NOTE: Now available .NET 4.0 and .NET 4.5 assemblies. Look the Downlods page. http://vsce.r-eg.net/Downloads/
89+
* NOTE: Reviewed with vsSolutionBuildEvent engine v0.12.9
90+
91+
[v1.1] 2016.02.24
592

693
* FIXED: UI: possible crash when sorted actions in action list.
794
* FIXED: Incorrect component re/activation (SBE-Scripts)
@@ -68,7 +155,7 @@ ______________
68155
* CHANGED: Unescaping the quote characters from arguments by default. (SBE-Scripts)
69156
* CHANGED: The ToolsVersion="4.0" now is used by default instead of 12.0 (Targets Mode - Template)
70157
* CHANGED: Other trivial changes and bug fixes.
71-
* NOTE: It includes vsSolutionBuildEvent engine v0.12.7
158+
* NOTE: Reviewed with vsSolutionBuildEvent engine v0.12.7
72159
The documentation:
73160
- vssbe.r-eg.net
74161
- vsce.r-eg.net

vsCommandEvent/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Identifier Id="DA5CEB32-1E09-44A5-A6AA-71D3149A53B7">
44
<Name>vsCommandEvent</Name>
55
<Author>github.com/3F</Author>
6-
<Version>1.1.0</Version>
6+
<Version>1.2.0</Version>
77
<Description xml:space="preserve">Advanced handler of all commands from Visual Studio and output data as manager of this. It based on vsSolutionBuildEvent engine and continues mission to provide flexible actions for your environment.</Description>
88
<Locale>1033</Locale>
99
<MoreInfoUrl>https://visualstudiogallery.msdn.microsoft.com/ad9f19b2-04c0-46fe-9637-9a52ce4ca661/</MoreInfoUrl>

0 commit comments

Comments
 (0)