diff --git a/src/Grr.App/Grr.App.csproj b/src/Grr.App/Grr.App.csproj
index 9f25f9b9..da66753c 100644
--- a/src/Grr.App/Grr.App.csproj
+++ b/src/Grr.App/Grr.App.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/src/GrrUi.App/Program.cs b/src/GrrUi.App/Program.cs
index 1ebd546f..5f62e039 100644
--- a/src/GrrUi.App/Program.cs
+++ b/src/GrrUi.App/Program.cs
@@ -198,7 +198,7 @@ private static void ExecuteOnSelectedRepository(Action action)
return;
}
- if (!(repositories.Length > _repositoryList.SelectedItem))
+ if (repositories.Length <= _repositoryList.SelectedItem)
{
return;
}
diff --git a/src/RepoM.Api.Common/RepoM.Api.Common.csproj b/src/RepoM.Api.Common/RepoM.Api.Common.csproj
deleted file mode 100644
index b57abbdd..00000000
--- a/src/RepoM.Api.Common/RepoM.Api.Common.csproj
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
- netstandard2.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/RepoM.Api.Win/RepoM.Api.Win.csproj b/src/RepoM.Api.Win/RepoM.Api.Win.csproj
deleted file mode 100644
index 1f923b46..00000000
--- a/src/RepoM.Api.Win/RepoM.Api.Win.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- netstandard2.0
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/RepoM.Api/Git/FileRepositoryStore.cs b/src/RepoM.Api/Git/FileRepositoryStore.cs
index b1c2fc1d..c5728a5b 100644
--- a/src/RepoM.Api/Git/FileRepositoryStore.cs
+++ b/src/RepoM.Api/Git/FileRepositoryStore.cs
@@ -30,7 +30,7 @@ public IEnumerable Get(string file)
{
return FileSystem.File.ReadAllLines(file);
}
- catch (Exception ex)
+ catch (Exception)
{
// swallow for now.
}
@@ -64,7 +64,7 @@ public void Set(IEnumerable paths)
{
FileSystem.File.WriteAllLines(GetFileName(), paths.ToArray());
}
- catch (Exception ex)
+ catch (Exception)
{
// swallow for now.
}
diff --git a/src/RepoM.Api/RepoM.Api.csproj b/src/RepoM.Api/RepoM.Api.csproj
index 94c65d24..d818eecb 100644
--- a/src/RepoM.Api/RepoM.Api.csproj
+++ b/src/RepoM.Api/RepoM.Api.csproj
@@ -4,10 +4,10 @@
-
+
-
+
diff --git a/src/RepoM.App/App.xaml.cs b/src/RepoM.App/App.xaml.cs
index d18ec194..70356d90 100644
--- a/src/RepoM.App/App.xaml.cs
+++ b/src/RepoM.App/App.xaml.cs
@@ -15,7 +15,6 @@ namespace RepoM.App;
using ExpressionStringEvaluator.VariableProviders;
using ExpressionStringEvaluator.VariableProviders.DateTime;
using Hardcodet.Wpf.TaskbarNotification;
-using RepoM.Api;
using RepoM.Api.Common;
using RepoM.Api.Git;
using RepoM.Api.Git.AutoFetch;
diff --git a/src/RepoM.App/RepoM.App.csproj b/src/RepoM.App/RepoM.App.csproj
index 17b22251..ba66f3a8 100644
--- a/src/RepoM.App/RepoM.App.csproj
+++ b/src/RepoM.App/RepoM.App.csproj
@@ -35,11 +35,11 @@
-
+
-
+
diff --git a/src/RepoM.Plugin.AzureDevOps/RepoM.Plugin.AzureDevOps.csproj b/src/RepoM.Plugin.AzureDevOps/RepoM.Plugin.AzureDevOps.csproj
index 002bc9e8..3828583f 100644
--- a/src/RepoM.Plugin.AzureDevOps/RepoM.Plugin.AzureDevOps.csproj
+++ b/src/RepoM.Plugin.AzureDevOps/RepoM.Plugin.AzureDevOps.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/src/RepoM.Plugin.LuceneSearch/SearchAdapter.cs b/src/RepoM.Plugin.LuceneSearch/SearchAdapter.cs
index 60355ec2..7be9aef6 100644
--- a/src/RepoM.Plugin.LuceneSearch/SearchAdapter.cs
+++ b/src/RepoM.Plugin.LuceneSearch/SearchAdapter.cs
@@ -39,7 +39,7 @@ public IEnumerable Search(string query)
}
}
- List results = _index.Search(query, SearchOperator.And,out var _);
+ List results = _index.Search(query, SearchOperator.And, out var _);
_cache = results;
_now = DateTime.UtcNow.AddSeconds(50);
_query = query;
diff --git a/src/RepoM.Plugin.SonarCloud/RepoM.Plugin.SonarCloud.csproj b/src/RepoM.Plugin.SonarCloud/RepoM.Plugin.SonarCloud.csproj
index ed425b7f..cbaea84c 100644
--- a/src/RepoM.Plugin.SonarCloud/RepoM.Plugin.SonarCloud.csproj
+++ b/src/RepoM.Plugin.SonarCloud/RepoM.Plugin.SonarCloud.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/src/RepoM.Plugin.SonarCloud/SonarCloudModule.cs b/src/RepoM.Plugin.SonarCloud/SonarCloudModule.cs
index 1f07249f..777ba09d 100644
--- a/src/RepoM.Plugin.SonarCloud/SonarCloudModule.cs
+++ b/src/RepoM.Plugin.SonarCloud/SonarCloudModule.cs
@@ -3,10 +3,7 @@ namespace RepoM.Plugin.SonarCloud;
using System;
using System.Threading.Tasks;
using JetBrains.Annotations;
-using RepoM.Api;
using RepoM.Core.Plugin;
-using SonarQube.Net.Common.Authentication;
-using SonarQube.Net;
[UsedImplicitly]
internal class SonarCloudModule : IModule
diff --git a/tests/RepoM.Api.Tests/RepoM.Api.Tests.csproj b/tests/RepoM.Api.Tests/RepoM.Api.Tests.csproj
index d15e66a5..c4b74144 100644
--- a/tests/RepoM.Api.Tests/RepoM.Api.Tests.csproj
+++ b/tests/RepoM.Api.Tests/RepoM.Api.Tests.csproj
@@ -15,9 +15,9 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+
+
+
diff --git a/tests/RepoM.Ipc.Tests/RepoM.Ipc.Tests.csproj b/tests/RepoM.Ipc.Tests/RepoM.Ipc.Tests.csproj
index 1320d5af..00510013 100644
--- a/tests/RepoM.Ipc.Tests/RepoM.Ipc.Tests.csproj
+++ b/tests/RepoM.Ipc.Tests/RepoM.Ipc.Tests.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/tests/RepoM.Plugin.AzureDevOps.Tests/RepoM.Plugin.AzureDevOps.Tests.csproj b/tests/RepoM.Plugin.AzureDevOps.Tests/RepoM.Plugin.AzureDevOps.Tests.csproj
index 5cea0d2a..ffac47d2 100644
--- a/tests/RepoM.Plugin.AzureDevOps.Tests/RepoM.Plugin.AzureDevOps.Tests.csproj
+++ b/tests/RepoM.Plugin.AzureDevOps.Tests/RepoM.Plugin.AzureDevOps.Tests.csproj
@@ -17,9 +17,9 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+
+
+
diff --git a/tests/RepoM.Plugin.LuceneSearch.Tests/RepoM.Plugin.LuceneSearch.Tests.csproj b/tests/RepoM.Plugin.LuceneSearch.Tests/RepoM.Plugin.LuceneSearch.Tests.csproj
index 6484c996..d275168d 100644
--- a/tests/RepoM.Plugin.LuceneSearch.Tests/RepoM.Plugin.LuceneSearch.Tests.csproj
+++ b/tests/RepoM.Plugin.LuceneSearch.Tests/RepoM.Plugin.LuceneSearch.Tests.csproj
@@ -11,7 +11,7 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/tests/RepoM.Plugin.SonarCloud.Tests/RepoM.Plugin.SonarCloud.Tests.csproj b/tests/RepoM.Plugin.SonarCloud.Tests/RepoM.Plugin.SonarCloud.Tests.csproj
index ffb7cfe9..fe10865f 100644
--- a/tests/RepoM.Plugin.SonarCloud.Tests/RepoM.Plugin.SonarCloud.Tests.csproj
+++ b/tests/RepoM.Plugin.SonarCloud.Tests/RepoM.Plugin.SonarCloud.Tests.csproj
@@ -17,9 +17,9 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+
+
+
diff --git a/tests/Specs/Specs.csproj b/tests/Specs/Specs.csproj
index 89d0c72e..461a9899 100644
--- a/tests/Specs/Specs.csproj
+++ b/tests/Specs/Specs.csproj
@@ -14,8 +14,8 @@
-
-
+
+
diff --git a/tests/Tests/Git/RepositoryTests.cs b/tests/Tests/Git/RepositoryTests.cs
index c3dc5cf9..de988b0d 100644
--- a/tests/Tests/Git/RepositoryTests.cs
+++ b/tests/Tests/Git/RepositoryTests.cs
@@ -66,15 +66,6 @@ public void Can_Use_Either_Slashes_Or_Backslashes()
r1.Equals(r2).Should().BeTrue();
}
- // [Test]
- // public void Accepts_Leading_Whitespaces()
- // {
- // var r1 = _builder1.WithPath(@"C:\Develop\RepoM\RepoM").Build();
- // var r2 = _builder2.WithPath(@" C:\Develop\RepoM\RepoM").Build();
- //
- // r1.Equals(r2).Should().BeTrue();
- // }
-
[Test]
public void Accepts_Empty_Strings()
{
diff --git a/tests/Tests/Tests.csproj b/tests/Tests/Tests.csproj
index 36af1120..b4065e8f 100644
--- a/tests/Tests/Tests.csproj
+++ b/tests/Tests/Tests.csproj
@@ -14,8 +14,8 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
+
+