Minor fixes

This commit is contained in:
Christian Köllner 2019-07-14 15:28:50 +02:00
parent 71c2b32c69
commit 8e539b573b
4 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,7 @@ namespace Capnp.Net.Runtime.Tests
{ {
ExpectingLogOutput = true; ExpectingLogOutput = true;
Logging.LoggerFactory?.Dispose();
Logging.LoggerFactory = new LoggerFactory().AddConsole((msg, level) => Logging.LoggerFactory = new LoggerFactory().AddConsole((msg, level) =>
{ {
if (!ExpectingLogOutput && level != LogLevel.Debug) if (!ExpectingLogOutput && level != LogLevel.Debug)

View File

@ -33,6 +33,7 @@ namespace Capnp.Net.Runtime.Tests
[TestInitialize] [TestInitialize]
public void InitConsoleLogging() public void InitConsoleLogging()
{ {
Logging.LoggerFactory?.Dispose();
Logging.LoggerFactory = new LoggerFactory().AddConsole((msg, level) => true); Logging.LoggerFactory = new LoggerFactory().AddConsole((msg, level) => true);
Logger = Logging.CreateLogger<TcpRpcStress>(); Logger = Logging.CreateLogger<TcpRpcStress>();
if (Thread.CurrentThread.Name == null) if (Thread.CurrentThread.Name == null)

View File

@ -17,6 +17,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression> <PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>Git</RepositoryType> <RepositoryType>Git</RepositoryType>
<PackageTags>capnp "Cap'n Proto" RPC serialization cerealization</PackageTags> <PackageTags>capnp "Cap'n Proto" RPC serialization cerealization</PackageTags>
<Version>1.0.0</Version>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'"> <PropertyGroup Condition="'$(Configuration)'=='Debug'">

View File

@ -5,7 +5,7 @@
<TargetFramework>netcoreapp2.1</TargetFramework> <TargetFramework>netcoreapp2.1</TargetFramework>
<RootNamespace>CapnpC</RootNamespace> <RootNamespace>CapnpC</RootNamespace>
<LangVersion>7.1</LangVersion> <LangVersion>7.1</LangVersion>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression> <PackageLicenseExpression>MIT</PackageLicenseExpression>
<Authors>Christian Köllner and contributors</Authors> <Authors>Christian Köllner and contributors</Authors>
<Description>Cap'n Proto C# code generator backend</Description> <Description>Cap'n Proto C# code generator backend</Description>
@ -13,6 +13,7 @@
<PackageProjectUrl>https://github.com/c80k/capnproto-dotnetcore</PackageProjectUrl> <PackageProjectUrl>https://github.com/c80k/capnproto-dotnetcore</PackageProjectUrl>
<RepositoryType>Git</RepositoryType> <RepositoryType>Git</RepositoryType>
<PackageTags>capnp capnpc RPC serialization cerealization</PackageTags> <PackageTags>capnp capnpc RPC serialization cerealization</PackageTags>
<Version>1.0.0</Version>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">