diff --git a/src/Artemis.Core/Artemis.Core.csproj b/src/Artemis.Core/Artemis.Core.csproj
index 42b2f16f6..6b20d3e22 100644
--- a/src/Artemis.Core/Artemis.Core.csproj
+++ b/src/Artemis.Core/Artemis.Core.csproj
@@ -50,7 +50,6 @@
-
diff --git a/src/Artemis.Core/Artemis.Core.csproj.DotSettings b/src/Artemis.Core/Artemis.Core.csproj.DotSettings
index 705d6dc5c..006fb1134 100644
--- a/src/Artemis.Core/Artemis.Core.csproj.DotSettings
+++ b/src/Artemis.Core/Artemis.Core.csproj.DotSettings
@@ -1,4 +1,5 @@
+ True
True
True
True
@@ -42,6 +43,7 @@
True
True
True
+ True
True
True
True
diff --git a/src/Artemis.Core/Constants.cs b/src/Artemis.Core/Constants.cs
index 5de642452..36f32cada 100644
--- a/src/Artemis.Core/Constants.cs
+++ b/src/Artemis.Core/Constants.cs
@@ -12,7 +12,7 @@ namespace Artemis.Core
///
/// The full path to the Artemis application folder
///
- public static readonly string ApplicationFolder = Path.GetDirectoryName(typeof(Constants).Assembly.Location);
+ public static readonly string ApplicationFolder = Path.GetDirectoryName(typeof(Constants).Assembly.Location)!;
///
/// The full path to the Artemis executable
@@ -34,11 +34,16 @@ namespace Artemis.Core
///
public static readonly PluginInfo CorePluginInfo = new PluginInfo
{
- Guid = Guid.Parse("ffffffff-ffff-ffff-ffff-ffffffffffff"), Name = "Artemis Core", Enabled = true
+ Guid = Guid.Parse("ffffffff-ffff-ffff-ffff-ffffffffffff"), Name = "Artemis Core"
};
- internal static readonly CorePlugin CorePlugin = new CorePlugin {PluginInfo = CorePluginInfo};
- internal static readonly EffectPlaceholderPlugin EffectPlaceholderPlugin = new EffectPlaceholderPlugin {PluginInfo = CorePluginInfo};
+ ///
+ /// The plugin used by core components of Artemis
+ ///
+ public static readonly Plugin CorePlugin = new Plugin(CorePluginInfo, new DirectoryInfo(ApplicationFolder));
+
+ internal static readonly CorePluginFeature CorePluginFeature = new CorePluginFeature {Plugin = CorePlugin};
+ internal static readonly EffectPlaceholderPlugin EffectPlaceholderPlugin = new EffectPlaceholderPlugin {Plugin = CorePlugin};
///
/// A read-only collection containing all primitive numeric types
diff --git a/src/Artemis.Core/DefaultTypes/Conditions/Operators/EqualsConditionOperator.cs b/src/Artemis.Core/DefaultTypes/Conditions/Operators/EqualsConditionOperator.cs
index dc66e12a3..789f86d63 100644
--- a/src/Artemis.Core/DefaultTypes/Conditions/Operators/EqualsConditionOperator.cs
+++ b/src/Artemis.Core/DefaultTypes/Conditions/Operators/EqualsConditionOperator.cs
@@ -1,4 +1,4 @@
-namespace Artemis.Core.DefaultTypes
+namespace Artemis.Core
{
internal class EqualsConditionOperator : ConditionOperator