Upgraded to dotnet 9. Fixed smaller issues

This commit is contained in:
2025-05-15 09:46:38 +02:00
parent 49f0a7c55e
commit 3d7f071170
7 changed files with 41 additions and 43 deletions

View File

@@ -13,22 +13,6 @@ using MoonlightServers.ApiServer.Startup;
var startup = new Startup();
#region Creating virtual plugin manifest from plugin.json file
// Read out content
var pluginManifestJson = await File.ReadAllTextAsync("../plugin.json");
// Parse to model
var pluginManifest = JsonSerializer.Deserialize<PluginManifest>(pluginManifestJson, new JsonSerializerOptions()
{
PropertyNameCaseInsensitive = true
})!;
// Clear assemblies as we are loading them using the additional assembly parameter
pluginManifest.Assemblies.Clear();
#endregion
await startup.Run(args, [
new PluginStartup()
]);