You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by bl...@apache.org on 2021/05/31 10:24:23 UTC

[pulsar-dotpulsar] branch master updated: Update NuGet packages and add .editorconfig to the VS solution

This is an automated email from the ASF dual-hosted git repository.

blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 147b7f6  Update NuGet packages and add .editorconfig to the VS solution
147b7f6 is described below

commit 147b7f6b40c5dc2c9e9af1615f27d697ab9ca9af
Author: Daniel Blankensteiner <db...@vmail.dk>
AuthorDate: Mon May 31 12:24:13 2021 +0200

    Update NuGet packages and add .editorconfig to the VS solution
---
 .editorconfig                                            | 14 +++++++++-----
 DotPulsar.sln                                            |  5 +++++
 src/DotPulsar/DotPulsar.csproj                           |  2 +-
 tests/DotPulsar.StressTests/DotPulsar.StressTests.csproj |  2 +-
 tests/DotPulsar.Tests/DotPulsar.Tests.csproj             |  2 +-
 5 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/.editorconfig b/.editorconfig
index 4312166..73a27eb 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,14 +1,17 @@
-[*]
+# Suppress: EC112
+
+[*.cs]
+
 charset = utf-8-bom
 indent_style = space
 indent_size = 4
-tab_width = 4
 trim_trailing_whitespace = true
-insert_final_newline=true
+insert_final_newline = true
 
 # Microsoft .NET properties
-csharp_using_directive_placement = inside_namespace:error
+dotnet_sort_system_directives_first = false
 csharp_space_after_cast = true
+csharp_using_directive_placement = inside_namespace:error
 
 # ReSharper properties
 resharper_constructor_or_destructor_body = expression_body
@@ -26,5 +29,6 @@ resharper_space_within_single_line_array_initializer_braces = true
 resharper_use_indent_from_vs = false
 resharper_sort_usings_with_system_first = false
 
-[{*.yaml, *.yml}]
+[{*.yaml,*.yml,*.csproj}]
+
 indent_size = 2
diff --git a/DotPulsar.sln b/DotPulsar.sln
index de49e5f..2ab3570 100644
--- a/DotPulsar.sln
+++ b/DotPulsar.sln
@@ -19,6 +19,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Producing", "samples\Produc
 EndProject
 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Reading", "samples\Reading\Reading.csproj", "{6D44683B-865C-4D15-9F0A-1A8441354589}"
 EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D9434D2C-2855-4A61-87B5-22C9E1BE18E6}"
+	ProjectSection(SolutionItems) = preProject
+		.editorconfig = .editorconfig
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
diff --git a/src/DotPulsar/DotPulsar.csproj b/src/DotPulsar/DotPulsar.csproj
index fc72713..5538b9b 100644
--- a/src/DotPulsar/DotPulsar.csproj
+++ b/src/DotPulsar/DotPulsar.csproj
@@ -22,7 +22,7 @@
   </PropertyGroup>
 
   <ItemGroup>    
-    <PackageReference Include="Microsoft.Extensions.ObjectPool" Version="5.0.5" />    
+    <PackageReference Include="Microsoft.Extensions.ObjectPool" Version="5.0.6" />    
     <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
     <PackageReference Include="protobuf-net" Version="3.0.101" />
     <PackageReference Include="System.IO.Pipelines" Version="5.0.1" />
diff --git a/tests/DotPulsar.StressTests/DotPulsar.StressTests.csproj b/tests/DotPulsar.StressTests/DotPulsar.StressTests.csproj
index a2c191b..3e1a892 100644
--- a/tests/DotPulsar.StressTests/DotPulsar.StressTests.csproj
+++ b/tests/DotPulsar.StressTests/DotPulsar.StressTests.csproj
@@ -6,7 +6,7 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
+    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
     <PackageReference Include="xunit" Version="2.4.1" />
     <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
       <PrivateAssets>all</PrivateAssets>
diff --git a/tests/DotPulsar.Tests/DotPulsar.Tests.csproj b/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
index f630420..ca0bf24 100644
--- a/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
+++ b/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
@@ -7,7 +7,7 @@
 
   <ItemGroup>
     <PackageReference Include="FluentAssertions" Version="5.10.3" />
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
+    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
     <PackageReference Include="xunit" Version="2.4.1" />
     <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
       <PrivateAssets>all</PrivateAssets>