Update NuGet packages and add .editorconfig to the VS solution
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_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 @@
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>