Core port - Targeting .NET Core 3.1!

Core port - Updated projects to new project layout
Core port - Changed the way devices are identified to be consistent across different frameworks
Core port - Updated plugin system to no longer use AppDomain but AssemblyLoadContext (through McMaster.NETCore.Plugins)
Core port - Renamed a few events to keep Fody from getting confused
This commit is contained in:
SpoinkyNL committed 2020-02-22 18:38:32 +01:00
1 parent 46a738e1a0
commit b3f6aef101
61 files changed
+537 -2031

No files matched your search

+10 -3
View File
@@ -1,7 +1,8 @@
using System;
using System.IO;
using AppDomainToolkit;
using System.Reflection;
using Artemis.Core.Plugins.Abstract;
using McMaster.NETCore.Plugins;
using Newtonsoft.Json;
namespace Artemis.Core.Plugins.Models
@@ -55,10 +56,16 @@ namespace Artemis.Core.Plugins.Models
public bool Enabled { get; internal set; }
/// <summary>
/// The AppDomain context of this plugin
/// The PluginLoader backing this plugin
/// </summary>
[JsonIgnore]
internal AppDomainContext<AssemblyTargetLoader, PathBasedAssemblyResolver> Context { get; set; }
internal PluginLoader PluginLoader { get; set; }
/// <summary>
/// The assembly the plugin code lives in
/// </summary>
[JsonIgnore]
internal Assembly Assembly { get; set; }
public override string ToString()
{