diff --git a/src/Artemis.Core/Services/RgbService.cs b/src/Artemis.Core/Services/RgbService.cs
index 3bd9db7d5..0b420f2ac 100644
--- a/src/Artemis.Core/Services/RgbService.cs
+++ b/src/Artemis.Core/Services/RgbService.cs
@@ -49,8 +49,8 @@ namespace Artemis.Core.Services
Surface.LoadDevices(CorsairDeviceProvider.Instance);
Surface.LoadDevices(DMXDeviceProvider.Instance);
Surface.LoadDevices(LogitechDeviceProvider.Instance);
+ // Surface.LoadDevices(MsiDeviceProvider.Instance);
Surface.LoadDevices(NovationDeviceProvider.Instance);
- Surface.LoadDevices(MsiDeviceProvider.Instance);
Surface.LoadDevices(RazerDeviceProvider.Instance);
// TODO SpoinkyNL 8-1-18: Load alignment
diff --git a/src/Module.General/Module.General.csproj b/src/Artemis.Plugins.BuiltIn/Artemis.Plugins.BuiltIn.csproj
similarity index 84%
rename from src/Module.General/Module.General.csproj
rename to src/Artemis.Plugins.BuiltIn/Artemis.Plugins.BuiltIn.csproj
index 463a03c39..7b2827fc9 100644
--- a/src/Module.General/Module.General.csproj
+++ b/src/Artemis.Plugins.BuiltIn/Artemis.Plugins.BuiltIn.csproj
@@ -4,14 +4,13 @@
Debug
AnyCPU
- {58113CC5-A9CA-4EC3-AB4E-3C94B99268D8}
+ {106F08AE-5FE8-433E-AA65-64E5219B5FC7}
Library
Properties
- Module.General
- Module.General
- v4.6
+ Artemis.Plugins.BuiltIn
+ Artemis.Plugins.BuiltIn
+ v4.6.1
512
-
true
@@ -38,8 +37,6 @@
-
-
@@ -50,10 +47,21 @@
-
-
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+
+
+
{9B811F9B-86B9-4771-87AF-72BAE7078A36}
@@ -64,16 +72,5 @@
Artemis.Plugins
-
-
- Designer
- MSBuild:Compile
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Module.General/GeneralModule.cs b/src/Artemis.Plugins.BuiltIn/Modules/General/GeneralModule.cs
similarity index 68%
rename from src/Module.General/GeneralModule.cs
rename to src/Artemis.Plugins.BuiltIn/Modules/General/GeneralModule.cs
index cffdcedc9..46cc4619d 100644
--- a/src/Module.General/GeneralModule.cs
+++ b/src/Artemis.Plugins.BuiltIn/Modules/General/GeneralModule.cs
@@ -1,14 +1,18 @@
-using System;
+using System.Diagnostics;
using Artemis.Core.Services.Interfaces;
using Artemis.Plugins.Interfaces;
-namespace Module.General
+namespace Artemis.Plugins.BuiltIn.Modules.General
{
public class GeneralModule : IModule
{
+ private readonly ICoreService _coreService;
+
public GeneralModule(ICoreService coreService)
{
- Console.WriteLine(coreService);
+ _coreService = coreService;
+
+ Debugger.Break();
}
public void LoadPlugin()
diff --git a/src/Module.General/GeneralView.xaml b/src/Artemis.Plugins.BuiltIn/Modules/General/GeneralView.xaml
similarity index 100%
rename from src/Module.General/GeneralView.xaml
rename to src/Artemis.Plugins.BuiltIn/Modules/General/GeneralView.xaml
diff --git a/src/Module.General/GeneralViewModel.cs b/src/Artemis.Plugins.BuiltIn/Modules/General/GeneralViewModel.cs
similarity index 80%
rename from src/Module.General/GeneralViewModel.cs
rename to src/Artemis.Plugins.BuiltIn/Modules/General/GeneralViewModel.cs
index 4b5976943..2ffef9bf5 100644
--- a/src/Module.General/GeneralViewModel.cs
+++ b/src/Artemis.Plugins.BuiltIn/Modules/General/GeneralViewModel.cs
@@ -2,7 +2,7 @@
using Artemis.Plugins.Models;
using Stylet;
-namespace Module.General
+namespace Artemis.Plugins.BuiltIn.Modules.General
{
public class GeneralViewModel : Screen, IModuleViewModel
{
diff --git a/src/Module.General/plugin.json b/src/Artemis.Plugins.BuiltIn/Modules/General/plugin.json
similarity index 100%
rename from src/Module.General/plugin.json
rename to src/Artemis.Plugins.BuiltIn/Modules/General/plugin.json
diff --git a/src/Module.General/Properties/AssemblyInfo.cs b/src/Artemis.Plugins.BuiltIn/Properties/AssemblyInfo.cs
similarity index 82%
rename from src/Module.General/Properties/AssemblyInfo.cs
rename to src/Artemis.Plugins.BuiltIn/Properties/AssemblyInfo.cs
index 7a8f13690..6081c8fac 100644
--- a/src/Module.General/Properties/AssemblyInfo.cs
+++ b/src/Artemis.Plugins.BuiltIn/Properties/AssemblyInfo.cs
@@ -1,14 +1,15 @@
using System.Reflection;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("Module.General")]
+[assembly: AssemblyTitle("Artemis.Plugins.BuiltIn")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Module.General")]
+[assembly: AssemblyProduct("Artemis.Plugins.BuiltIn")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -19,7 +20,7 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("58113cc5-a9ca-4ec3-ab4e-3c94b99268d8")]
+[assembly: Guid("106f08ae-5fe8-433e-aa65-64e5219b5fc7")]
// Version information for an assembly consists of the following four values:
//
@@ -32,4 +33,4 @@ using System.Runtime.InteropServices;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
\ No newline at end of file
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/Module.General/app.config b/src/Artemis.Plugins.BuiltIn/app.config
similarity index 96%
rename from src/Module.General/app.config
rename to src/Artemis.Plugins.BuiltIn/app.config
index 0560a422e..c22974a6d 100644
--- a/src/Module.General/app.config
+++ b/src/Artemis.Plugins.BuiltIn/app.config
@@ -1,20 +1,15 @@
-
-
-
+
+
-
-
-
-
@@ -35,6 +30,10 @@
+
+
+
+
@@ -45,7 +44,4 @@
-
-
-
\ No newline at end of file
diff --git a/src/Artemis.Plugins.BuiltIn/packages.config b/src/Artemis.Plugins.BuiltIn/packages.config
new file mode 100644
index 000000000..c44ec7607
--- /dev/null
+++ b/src/Artemis.Plugins.BuiltIn/packages.config
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/Artemis.Plugins/Models/PluginInfo.cs b/src/Artemis.Plugins/Models/PluginInfo.cs
index 4e840af7b..47ae89ccb 100644
--- a/src/Artemis.Plugins/Models/PluginInfo.cs
+++ b/src/Artemis.Plugins/Models/PluginInfo.cs
@@ -67,6 +67,7 @@ namespace Artemis.Plugins.Models
{
// Make sure the right engine is used
CSScript.EvaluatorConfig.Engine = EvaluatorEngine.CodeDom;
+ CSScript.EvaluatorConfig.DebugBuild = true;
if (!folder.EndsWith("\\"))
folder += "\\";
@@ -100,6 +101,7 @@ namespace Artemis.Plugins.Models
{
// Make sure the right engine is used
CSScript.EvaluatorConfig.Engine = EvaluatorEngine.CodeDom;
+ CSScript.EvaluatorConfig.DebugBuild = true;
// Don't attempt to locave VMs for something other than a module
if (!(Plugin is IModule))
diff --git a/src/Artemis.UI/Artemis.UI.csproj b/src/Artemis.UI/Artemis.UI.csproj
index 20f4899bd..bf7cb5a3f 100644
--- a/src/Artemis.UI/Artemis.UI.csproj
+++ b/src/Artemis.UI/Artemis.UI.csproj
@@ -224,6 +224,10 @@
{9b811f9b-86b9-4771-87af-72bae7078a36}
Artemis.Core
+
+ {106f08ae-5fe8-433e-aa65-64e5219b5fc7}
+ Artemis.Plugins.BuiltIn
+
{cd23bc5e-57f0-46ce-a007-24d031146219}
Artemis.Plugins
@@ -266,4 +270,8 @@
+
+ echo Copying built-in plugins...
+xcopy /s /y /q $(SolutionDir)Artemis.Plugins.BuiltIn\Modules %25ProgramData%25\Artemis\plugins
+
\ No newline at end of file
diff --git a/src/Artemis.sln b/src/Artemis.sln
index 1b2bdc39f..900f8f78a 100644
--- a/src/Artemis.sln
+++ b/src/Artemis.sln
@@ -11,9 +11,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Artemis.Core", "Artemis.Cor
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Artemis.Plugins", "Artemis.Plugins\Artemis.Plugins.csproj", "{CD23BC5E-57F0-46CE-A007-24D031146219}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Plugins", "Plugins", "{FAF4C738-F49C-490B-9134-57598FF5358C}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Module.General", "Module.General\Module.General.csproj", "{58113CC5-A9CA-4EC3-AB4E-3C94B99268D8}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Artemis.Plugins.BuiltIn", "Artemis.Plugins.BuiltIn\Artemis.Plugins.BuiltIn.csproj", "{106F08AE-5FE8-433E-AA65-64E5219B5FC7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -37,17 +35,14 @@ Global
{CD23BC5E-57F0-46CE-A007-24D031146219}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD23BC5E-57F0-46CE-A007-24D031146219}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD23BC5E-57F0-46CE-A007-24D031146219}.Release|Any CPU.Build.0 = Release|Any CPU
- {58113CC5-A9CA-4EC3-AB4E-3C94B99268D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {58113CC5-A9CA-4EC3-AB4E-3C94B99268D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {58113CC5-A9CA-4EC3-AB4E-3C94B99268D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {58113CC5-A9CA-4EC3-AB4E-3C94B99268D8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {106F08AE-5FE8-433E-AA65-64E5219B5FC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {106F08AE-5FE8-433E-AA65-64E5219B5FC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {106F08AE-5FE8-433E-AA65-64E5219B5FC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {106F08AE-5FE8-433E-AA65-64E5219B5FC7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
- GlobalSection(NestedProjects) = preSolution
- {58113CC5-A9CA-4EC3-AB4E-3C94B99268D8} = {FAF4C738-F49C-490B-9134-57598FF5358C}
- EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C203080A-4473-4CC2-844B-F552EA43D66A}
EndGlobalSection
diff --git a/src/Module.General/packages.config b/src/Module.General/packages.config
deleted file mode 100644
index a89678ca1..000000000
--- a/src/Module.General/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file