Skip to content

Commit f2b9edb

Browse files
committed
1.1.6-beta
1 parent ce13f72 commit f2b9edb

File tree

5 files changed

+9
-19
lines changed

5 files changed

+9
-19
lines changed

sample/PSWebApi.OwinSample/PSWebApi.OwinSample.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
<WarningLevel>4</WarningLevel>
4141
</PropertyGroup>
4242
<ItemGroup>
43-
<Reference Include="DataBooster.PSWebApi, Version=1.1.5.0, Culture=neutral, PublicKeyToken=ee1eb06d9feeb8dc, processorArchitecture=MSIL">
44-
<HintPath>..\..\packages\DataBooster.PSWebApi.1.1.5-alpha\lib\net45\DataBooster.PSWebApi.dll</HintPath>
43+
<Reference Include="DataBooster.PSWebApi, Version=1.1.6.0, Culture=neutral, PublicKeyToken=ee1eb06d9feeb8dc, processorArchitecture=MSIL">
44+
<HintPath>..\..\packages\DataBooster.PSWebApi.1.1.6-beta\lib\net45\DataBooster.PSWebApi.dll</HintPath>
4545
<Private>True</Private>
4646
</Reference>
4747
<Reference Include="Microsoft.CSharp" />

sample/PSWebApi.OwinSample/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
//
3232
// You can specify all the values or you can default the Revision and Build Numbers
3333
// by using the '*' as shown below:
34-
[assembly: AssemblyVersion("1.1.5.0")]
35-
[assembly: AssemblyFileVersion("1.1.5.0")]
34+
[assembly: AssemblyVersion("1.1.6.0")]
35+
[assembly: AssemblyFileVersion("1.1.6.0")]

sample/PSWebApi.OwinSample/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="DataBooster.PSWebApi" version="1.1.5-alpha" targetFramework="net45" />
3+
<package id="DataBooster.PSWebApi" version="1.1.6-beta" targetFramework="net45" />
44
<package id="Microsoft.AspNet.Cors" version="5.2.3" targetFramework="net45" />
55
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net45" />
66
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net45" />

src/DataBooster.PSWebApi/PSControllerExtensions.async.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,9 @@ public async static Task<HttpResponseMessage> InvokePowerShellAsync(this ApiCont
4747

4848
private async static Task<IList<PSObject>> InvokeAsync(this PowerShell ps, CancellationToken cancellationToken)
4949
{
50-
using (cancellationToken.Register(
51-
p =>
52-
{
53-
((PowerShell)p).BeginStop(
54-
(ar) =>
55-
{
56-
try { ps.EndStop(ar); }
57-
catch { }
58-
}, null);
59-
}, ps))
50+
using (cancellationToken.Register(p => { ((PowerShell)p).BeginStop((ar) => { }, null); }, ps))
6051
{
6152
var taskFactory = new TaskFactory<IList<PSObject>>(cancellationToken);
62-
6353
return await taskFactory.FromAsync((callback, state) => ps.BeginInvoke<object>(null, null, callback, state), ps.EndInvoke, null).ConfigureAwait(false);
6454
// return await Task.Run<IList<PSObject>>(() => ps.Invoke(), cancellationToken).ConfigureAwait(false);
6555
}

src/DataBooster.PSWebApi/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.1.5.0")]
36-
[assembly: AssemblyFileVersion("1.1.5.0")]
37-
[assembly: AssemblyInformationalVersion("1.1.5-alpha")]
35+
[assembly: AssemblyVersion("1.1.6.0")]
36+
[assembly: AssemblyFileVersion("1.1.6.0")]
37+
[assembly: AssemblyInformationalVersion("1.1.6-beta")]

0 commit comments

Comments
 (0)