mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
commit
abe9921ec5
@ -482,7 +482,7 @@ namespace Capnp.Net.Runtime.Tests
|
||||
bool flag = call0.Wait(MediumNonDbgTimeout);
|
||||
Assert.IsTrue(flag);
|
||||
}
|
||||
catch (RpcException exception) when (exception.Message == "Cannot access a disposed object.")
|
||||
catch (AggregateException exception) when (exception.InnerException is RpcException rpcException && rpcException.Message == "Cannot access a disposed object.")
|
||||
{
|
||||
Logger.Log(LogLevel.Information, $"Oops, object disposed. Counter = {cap.Count}, tx count = {client.SendCount}, rx count = {client.RecvCount}");
|
||||
throw;
|
||||
|
@ -18,7 +18,7 @@
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<RepositoryType>Git</RepositoryType>
|
||||
<PackageTags>capnp "Cap'n Proto" RPC serialization cerealization</PackageTags>
|
||||
<Version>1.2-local$([System.DateTime]::UtcNow.ToString(yyMMddHHmm))</Version>
|
||||
<Version>1.3-local$([System.DateTime]::UtcNow.ToString(yyMMddHHmm))</Version>
|
||||
<Configurations>Debug;Release</Configurations>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
@ -72,7 +72,7 @@ namespace Capnp.Rpc
|
||||
{
|
||||
--_refCount;
|
||||
|
||||
throw new ObjectDisposedException(nameof(ConsumedCapability));
|
||||
throw new ObjectDisposedException(ToString(), "Attempted to add reference to capability which was already released");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -106,7 +106,7 @@ namespace Capnp.Rpc
|
||||
{
|
||||
if (_refCount <= 0)
|
||||
{
|
||||
throw new ObjectDisposedException(nameof(ConsumedCapability), "Validation failed, capability is already disposed");
|
||||
throw new ObjectDisposedException(ToString(), "Validation failed, capability is already disposed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,9 +9,9 @@
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
<AssemblyVersion>1.1.0.0</AssemblyVersion>
|
||||
<FileVersion>1.1.0.0</FileVersion>
|
||||
<Version>1.1-local$([System.DateTime]::UtcNow.ToString(yyMMddHHmm))</Version>
|
||||
<AssemblyVersion>1.3.0.0</AssemblyVersion>
|
||||
<FileVersion>1.3.0.0</FileVersion>
|
||||
<Version>1.3-local$([System.DateTime]::UtcNow.ToString(yyMMddHHmm))</Version>
|
||||
|
||||
<NuspecFile>$(MSBuildThisFileDirectory)CapnpC.CSharp.MsBuild.Generation.nuspec</NuspecFile>
|
||||
<NuspecProperties>version=$(Version);configuration=$(Configuration)</NuspecProperties>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||
<Version>1.1-local</Version>
|
||||
<Version>1.3-local</Version>
|
||||
<Configurations>Debug;Release</Configurations>
|
||||
<PackageReferenceVersion Condition="'$(PackageReferenceVersion)'==''">$(Version)*</PackageReferenceVersion>
|
||||
</PropertyGroup>
|
||||
|
@ -1,4 +1,4 @@
|
||||
version: '1.2.{build}'
|
||||
version: '1.3.{build}'
|
||||
image: Visual Studio 2019
|
||||
# branches:
|
||||
# only:
|
||||
|
@ -13,7 +13,7 @@
|
||||
<PackageProjectUrl>https://github.com/c80k/capnproto-dotnetcore</PackageProjectUrl>
|
||||
<RepositoryType>Git</RepositoryType>
|
||||
<PackageTags>capnp capnpc RPC serialization cerealization</PackageTags>
|
||||
<Version>1.2.0</Version>
|
||||
<Version>1.3.0</Version>
|
||||
<Configurations>Debug;Release</Configurations>
|
||||
</PropertyGroup>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user