diff --git a/OmegaLeo.HelperLib.Changelog/OmegaLeo.HelperLib.Changelog.csproj b/OmegaLeo.HelperLib.Changelog/OmegaLeo.HelperLib.Changelog.csproj
index 471fef3..b630f41 100644
--- a/OmegaLeo.HelperLib.Changelog/OmegaLeo.HelperLib.Changelog.csproj
+++ b/OmegaLeo.HelperLib.Changelog/OmegaLeo.HelperLib.Changelog.csproj
@@ -22,14 +22,4 @@
-
-
- ..\..\..\..\..\..\home\omegaleo\.nuget\packages\netflow.documentationhelper.library\1.1.2\lib\netstandard2.1\NetFlow.DocumentationHelper.Library.dll
-
-
-
-
-
-
-
diff --git a/OmegaLeo.HelperLib.Game/OmegaLeo.HelperLib.Game.csproj b/OmegaLeo.HelperLib.Game/OmegaLeo.HelperLib.Game.csproj
index ca5b493..4b83b9f 100644
--- a/OmegaLeo.HelperLib.Game/OmegaLeo.HelperLib.Game.csproj
+++ b/OmegaLeo.HelperLib.Game/OmegaLeo.HelperLib.Game.csproj
@@ -16,6 +16,7 @@
+
diff --git a/OmegaLeo.HelperLib.Web/Controllers/HomeController.cs b/OmegaLeo.HelperLib.Web/Controllers/HomeController.cs
index 42a2e8f..3eec54e 100644
--- a/OmegaLeo.HelperLib.Web/Controllers/HomeController.cs
+++ b/OmegaLeo.HelperLib.Web/Controllers/HomeController.cs
@@ -78,38 +78,46 @@ public class HomeController : Controller
private LibraryDocumentationViewModel GenerateLibraryDocs(Assembly assembly, string changelogPath, string displayName, string description, string nugetPackageId)
{
- var allDocumentation = DocumentationHelperTool.GenerateDocumentation();
- var assemblyName = assembly.GetName().Name;
-
- var filteredDocumentation = allDocumentation
- .Where(d => d.AssemblyName.Equals(assemblyName, StringComparison.OrdinalIgnoreCase))
- .OrderBy(d => d.ClassName)
- .ToList();
-
- string changelogMarkdown = "";
- if (System.IO.File.Exists(changelogPath))
+ try
{
- changelogMarkdown = ChangelogTool.GetMarkdown(assembly);
+ var allDocumentation = DocumentationHelperTool.GenerateDocumentation();
+ var assemblyName = assembly.GetName().Name;
+
+ var filteredDocumentation = allDocumentation
+ .Where(d => d.AssemblyName.Equals(assemblyName, StringComparison.OrdinalIgnoreCase))
+ .OrderBy(d => d.ClassName)
+ .ToList();
+
+ string changelogMarkdown = "";
+ if (System.IO.File.Exists(changelogPath))
+ {
+ changelogMarkdown = ChangelogTool.GetMarkdown(assembly);
+ }
+
+ string version = assembly.GetCustomAttribute()?.InformationalVersion
+ ?? assembly.GetName().Version?.ToString()
+ ?? "1.0.0";
+
+ if (version.Contains('+'))
+ {
+ version = version.Substring(0, version.IndexOf('+'));
+ }
+
+ return new LibraryDocumentationViewModel
+ {
+ LibraryName = displayName,
+ Description = description,
+ Version = version,
+ NuGetPackageId = nugetPackageId,
+ Documentation = filteredDocumentation,
+ ChangelogMarkdown = changelogMarkdown
+ };
}
-
- string version = assembly.GetCustomAttribute()?.InformationalVersion
- ?? assembly.GetName().Version?.ToString()
- ?? "1.0.0";
-
- if (version.Contains('+'))
+ catch (Exception e)
{
- version = version.Substring(0, version.IndexOf('+'));
+ Console.WriteLine($"Failed to Generate Library Docs for {assembly.FullName}: {e.Message}");
+ return new LibraryDocumentationViewModel();
}
-
- return new LibraryDocumentationViewModel
- {
- LibraryName = displayName,
- Description = description,
- Version = version,
- NuGetPackageId = nugetPackageId,
- Documentation = filteredDocumentation,
- ChangelogMarkdown = changelogMarkdown
- };
}
diff --git a/OmegaLeo.HelperLib.Web/appsettings.json b/OmegaLeo.HelperLib.Web/appsettings.json
index 10f68b8..822760b 100644
--- a/OmegaLeo.HelperLib.Web/appsettings.json
+++ b/OmegaLeo.HelperLib.Web/appsettings.json
@@ -5,5 +5,6 @@
"Microsoft.AspNetCore": "Warning"
}
},
- "AllowedHosts": "*"
+ "AllowedHosts": "*",
+ "https_port": 443
}