Dev #14
@@ -3,3 +3,12 @@ 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
|
||||||
|
|||||||
@@ -18,6 +18,10 @@
|
|||||||
<None Include="LICENSE.md" Pack="true" PackagePath="\" />
|
<None Include="LICENSE.md" Pack="true" PackagePath="\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="NetFlow.DocumentationHelper.Library" Version="1.1.2" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="NetFlow.DocumentationHelper.Library">
|
<Reference Include="NetFlow.DocumentationHelper.Library">
|
||||||
<HintPath>..\..\..\..\..\..\home\omegaleo\.nuget\packages\netflow.documentationhelper.library\1.1.2\lib\netstandard2.1\NetFlow.DocumentationHelper.Library.dll</HintPath>
|
<HintPath>..\..\..\..\..\..\home\omegaleo\.nuget\packages\netflow.documentationhelper.library\1.1.2\lib\netstandard2.1\NetFlow.DocumentationHelper.Library.dll</HintPath>
|
||||||
|
|||||||
@@ -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.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user