Dev changes #5

Merged
omegaleo merged 45 commits from dev into main 2025-12-23 16:37:30 +00:00
3 changed files with 18 additions and 15 deletions
Showing only changes of commit fd96271bbe - Show all commits
+10 -1
View File
@@ -2,4 +2,13 @@ bin/
obj/ obj/
/packages/ /packages/
riderModule.iml riderModule.iml
/_ReSharper.Caches/ /_ReSharper.Caches/
/.vs
<<<<<<< Updated upstream
/OmegaLeo.HelperLib.Web
=======
/OmegaLeo.HelperLib.Web/.config
/OmegaLeo.HelperLib.Web/Properties/PublishProfiles
/OmegaLeo.HelperLib.Web/publish
>>>>>>> Stashed changes
/OmegaLeo.HelperLib.Web/OmegaLeo.HelperLib.Web.csproj.user
@@ -13,9 +13,13 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\"/> <None Include="README.md" Pack="true" PackagePath="\" />
<None Include="CHANGELOG.md" Pack="true" PackagePath="\"/> <None Include="CHANGELOG.md" Pack="true" PackagePath="\" />
<None Include="LICENSE.md" Pack="true" PackagePath="\"/> <None Include="LICENSE.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NetFlow.DocumentationHelper.Library" Version="1.1.2" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
4
@@ -115,16 +115,6 @@ public class HomeController : Controller
static string GetSolutionRoot() static string GetSolutionRoot()
{ {
string dir = AppContext.BaseDirectory; return Assembly.GetEntryAssembly().Location;
while (!string.IsNullOrEmpty(dir))
{
if (Directory.GetFiles(dir, "*.sln").Length > 0)
return dir;
dir = Directory.GetParent(dir)?.FullName;
}
throw new Exception("Solution root not found.");
} }
copilot-pull-request-reviewer[bot] commented 2025-12-23 16:32:10 +00:00 (Migrated from github.com)
Review

Inefficient use of 'ContainsKey' and indexer.

Inefficient use of 'ContainsKey' and [indexer](1).
} }