diff --git a/.gitignore b/.gitignore
index fb3ad6a..9085c29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,9 @@
# Created by https://www.gitignore.io/api/visualstudio
+# Ignore plugin artifacts in GameData
+/GameData/DynamicBatteryStorage/Plugins
+
### VisualStudio ###
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
@@ -342,3 +345,7 @@ tmp/
deploy/
build_scripts/version.txt
build_scripts/changelog.md
+
+# KSPBuildTools / SDK-style build
+/*.props.user
+*.binlog
diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 0000000..849cb28
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,7 @@
+
+
+
+
+ $(MSBuildThisFileDirectory)
+
+
diff --git a/DynamicBatteryStorage.slnx b/DynamicBatteryStorage.slnx
new file mode 100644
index 0000000..f5ad2e1
--- /dev/null
+++ b/DynamicBatteryStorage.slnx
@@ -0,0 +1,3 @@
+
+
+
diff --git a/GameData/DynamicBatteryStorage/Plugins/DynamicBatteryStorage.dll b/GameData/DynamicBatteryStorage/Plugins/DynamicBatteryStorage.dll
index 52c5160..92a05a5 100644
Binary files a/GameData/DynamicBatteryStorage/Plugins/DynamicBatteryStorage.dll and b/GameData/DynamicBatteryStorage/Plugins/DynamicBatteryStorage.dll differ
diff --git a/Source/DynamicBatteryStorage/DynamicBatteryStorage.csproj b/Source/DynamicBatteryStorage/DynamicBatteryStorage.csproj
index 07fdc1c..55812db 100644
--- a/Source/DynamicBatteryStorage/DynamicBatteryStorage.csproj
+++ b/Source/DynamicBatteryStorage/DynamicBatteryStorage.csproj
@@ -1,142 +1,32 @@
-
-
+
- Debug
- AnyCPU
- 8.0.30703
- 2.0
- {0EFDFAF4-E57B-452E-BF93-E404C00B74DC}
- Library
- Properties
- DynamicBatteryStorage
+ 2.3.7
DynamicBatteryStorage
- v4.5
- 512
-
-
-
- true
- full
- false
- ..\..\GameData\DynamicBatteryStorage\Plugins\
- DEBUG;TRACE
- prompt
- 4
- false
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
- false
+ DynamicBatteryStorage
+ net481
+
+ $(Version)
+ 1.0.0.0
+ $(Version)
+
+ $(ProjectRootDir)GameData\DynamicBatteryStorage
+ Plugins
+
+ portable
+ true
+ CS1591
+
-
- ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\Assembly-CSharp.dll
-
-
-
-
-
-
-
-
- ..\..\..\..\..\..\..\Games\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.dll
-
-
- ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.AnimationModule.dll
-
-
- ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.AssetBundleModule.dll
-
-
- ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.CoreModule.dll
-
-
- ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.IMGUIModule.dll
-
-
- ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.InputLegacyModule.dll
-
-
- ..\..\..\..\..\..\..\Games\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.InputModule.dll
-
-
- ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.TextRenderingModule.dll
-
-
- ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.UI.dll
-
-
- ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.UIModule.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
diff --git a/Source/DynamicBatteryStorage/Properties/AssemblyInfo.cs b/Source/DynamicBatteryStorage/Properties/AssemblyInfo.cs
deleted file mode 100644
index 9d9ad6f..0000000
--- a/Source/DynamicBatteryStorage/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-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("PowerMonitor")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("PowerMonitor")]
-[assembly: AssemblyCopyright("Copyright © 2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("625aff0c-f2ed-493d-8e16-7ce7702f0eb0")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Source/DynamicBatteryStorage/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Source/DynamicBatteryStorage/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
deleted file mode 100644
index c821433..0000000
Binary files a/Source/DynamicBatteryStorage/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ
diff --git a/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.csproj.FileListAbsolute.txt b/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.csproj.FileListAbsolute.txt
deleted file mode 100644
index 33b271b..0000000
--- a/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.csproj.FileListAbsolute.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-G:/KSP Modding/repositories/DynamicBatteryStorage/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.csprojResolveAssemblyReference.cache
-G:/KSP Modding/repositories/DynamicBatteryStorage/GameData/DynamicBatteryStorage/Plugins/DynamicBatteryStorage.dll
-G:/KSP Modding/repositories/DynamicBatteryStorage/GameData/DynamicBatteryStorage/Plugins/DynamicBatteryStorage.pdb
-G:/KSP Modding/repositories/DynamicBatteryStorage/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.dll
-G:/KSP Modding/repositories/DynamicBatteryStorage/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.pdb
-/github/DynamicBatteryStorage/GameData/DynamicBatteryStorage/Plugins/DynamicBatteryStorage.dll
-/github/DynamicBatteryStorage/GameData/DynamicBatteryStorage/Plugins/DynamicBatteryStorage.pdb
-/github/DynamicBatteryStorage/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.csprojResolveAssemblyReference.cache
-/github/DynamicBatteryStorage/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.csproj.CoreCompileInputs.cache
-/github/DynamicBatteryStorage/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.dll
-/github/DynamicBatteryStorage/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.pdb
-C:\Users\Chris\KSP\Repos\DynamicBatteryStorage\GameData\DynamicBatteryStorage\Plugins\DynamicBatteryStorage.dll
-C:\Users\Chris\KSP\Repos\DynamicBatteryStorage\GameData\DynamicBatteryStorage\Plugins\DynamicBatteryStorage.pdb
-C:\Users\Chris\KSP\Repos\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.csproj.CoreCompileInputs.cache
-C:\Users\Chris\KSP\Repos\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.csproj.CopyComplete
-C:\Users\Chris\KSP\Repos\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.dll
-C:\Users\Chris\KSP\Repos\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.pdb
-C:\Users\Chris\KSP\Repos\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.csprojAssemblyReference.cache
-C:\Users\Chris\KSP\Repositories\DynamicBatteryStorage\GameData\DynamicBatteryStorage\Plugins\DynamicBatteryStorage.dll
-C:\Users\Chris\KSP\Repositories\DynamicBatteryStorage\GameData\DynamicBatteryStorage\Plugins\DynamicBatteryStorage.pdb
-C:\Users\Chris\KSP\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.csprojAssemblyReference.cache
-C:\Users\Chris\KSP\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.csproj.CoreCompileInputs.cache
-C:\Users\Chris\KSP\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.csproj.CopyComplete
-C:\Users\Chris\KSP\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.dll
-C:\Users\Chris\KSP\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.pdb
-C:\Users\Chris\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.csproj.AssemblyReference.cache
-C:\Users\Chris\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.csproj.CoreCompileInputs.cache
-C:\Users\Chris\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.dll
-C:\Users\Chris\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.pdb
-C:\Users\Chris\Repositories\DynamicBatteryStorage\GameData\DynamicBatteryStorage\Plugins\DynamicBatteryStorage.dll
-C:\Users\Chris\Repositories\DynamicBatteryStorage\GameData\DynamicBatteryStorage\Plugins\DynamicBatteryStorage.pdb
-C:\Users\Chris\Repositories\DynamicBatteryStorage\Source\DynamicBatteryStorage\obj\Debug\DynamicBatteryStorage.csproj.CopyComplete
diff --git a/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.csprojResolveAssemblyReference.cache b/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.csprojResolveAssemblyReference.cache
deleted file mode 100644
index 4d4b431..0000000
Binary files a/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.csprojResolveAssemblyReference.cache and /dev/null differ
diff --git a/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.dll b/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.dll
deleted file mode 100644
index 6d598dd..0000000
Binary files a/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.dll and /dev/null differ
diff --git a/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.pdb b/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.pdb
deleted file mode 100644
index 6d75b40..0000000
Binary files a/Source/DynamicBatteryStorage/obj/Debug/DynamicBatteryStorage.pdb and /dev/null differ
diff --git a/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.csproj.FileListAbsolute.txt b/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.csproj.FileListAbsolute.txt
deleted file mode 100644
index 5d8cd65..0000000
--- a/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.csproj.FileListAbsolute.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-G:\KSP Modding\repositories\FarFutureTechnologies\Source\PowerMonitor\PowerMonitor\obj\Debug\PowerMonitor.csprojResolveAssemblyReference.cache
-G:\KSP Modding\repositories\FarFutureTechnologies\GameData\FarFutureTechnologies\Plugins\PowerMonitor.dll
-G:\KSP Modding\repositories\FarFutureTechnologies\GameData\FarFutureTechnologies\Plugins\PowerMonitor.pdb
-G:\KSP Modding\repositories\FarFutureTechnologies\Source\PowerMonitor\PowerMonitor\obj\Debug\PowerMonitor.dll
-G:\KSP Modding\repositories\FarFutureTechnologies\Source\PowerMonitor\PowerMonitor\obj\Debug\PowerMonitor.pdb
diff --git a/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.csprojResolveAssemblyReference.cache b/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.csprojResolveAssemblyReference.cache
deleted file mode 100644
index d2a561e..0000000
Binary files a/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.csprojResolveAssemblyReference.cache and /dev/null differ
diff --git a/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.dll b/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.dll
deleted file mode 100644
index ed19040..0000000
Binary files a/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.dll and /dev/null differ
diff --git a/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.pdb b/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.pdb
deleted file mode 100644
index c5da6da..0000000
Binary files a/Source/DynamicBatteryStorage/obj/Debug/PowerMonitor.pdb and /dev/null differ
diff --git a/Source/PowerMonitor.sln b/Source/PowerMonitor.sln
deleted file mode 100644
index f59fa2f..0000000
--- a/Source/PowerMonitor.sln
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual C# Express 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerMonitor", "DynamicBatteryStorage\DynamicBatteryStorage.csproj", "{0EFDFAF4-E57B-452E-BF93-E404C00B74DC}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {0EFDFAF4-E57B-452E-BF93-E404C00B74DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0EFDFAF4-E57B-452E-BF93-E404C00B74DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0EFDFAF4-E57B-452E-BF93-E404C00B74DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0EFDFAF4-E57B-452E-BF93-E404C00B74DC}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/Source/PowerMonitor.suo b/Source/PowerMonitor.suo
deleted file mode 100644
index f83cd03..0000000
Binary files a/Source/PowerMonitor.suo and /dev/null differ