diff --git a/Mod/Directory.Build.props b/Mod/Directory.Build.props index d5d87b2..3272d3d 100644 --- a/Mod/Directory.Build.props +++ b/Mod/Directory.Build.props @@ -1,9 +1,15 @@  - - True - BSIPA - 8.0 - + + true + true + true + + + + false + true + true + \ No newline at end of file diff --git a/Mod/Directory.Build.targets b/Mod/Directory.Build.targets new file mode 100644 index 0000000..2418059 --- /dev/null +++ b/Mod/Directory.Build.targets @@ -0,0 +1,101 @@ + + + + + 2.0 + + false + + $(OutputPath)$(AssemblyName) + + $(OutputPath)Final + True + + + + + + + + + + + + + + + + $(BasePluginVersion) + $(BasePluginVersion) + $(BasePluginVersion) + + + + + + + + + $(AssemblyName) + $(ArtifactName)-$(PluginVersion) + $(ArtifactName)-bs$(GameVersion) + $(ArtifactName)-$(CommitHash) + + + + + + + $(AssemblyName) + + + + + + + + + + + + + + $(AssemblyName) + $(OutDir)zip\ + + + + + + + + + + + + + $(BeatSaberDir)\Plugins + True + Unable to copy assembly to game folder, did you set 'BeatSaberDir' correctly in your 'csproj.user' file? Plugins folder doesn't exist: '$(PluginDir)'. + + Unable to copy to Plugins folder, '$(BeatSaberDir)' does not appear to be a Beat Saber game install. + + Unable to copy to Plugins folder, 'BeatSaberDir' has not been set in your 'csproj.user' file. + False + + + + + + + + $(BeatSaberDir)\IPA\Pending\Plugins + + + + + + + + \ No newline at end of file diff --git a/Mod/ScoreTracker.csproj b/Mod/ScoreTracker.csproj index a469782..dbeb88c 100644 --- a/Mod/ScoreTracker.csproj +++ b/Mod/ScoreTracker.csproj @@ -1,14 +1,16 @@ - - + net48 Library ..\Refs - $(LocalRefsDir) + $(LocalRefsDir) $(MSBuildProjectDirectory)\ 9 enable + + Copyright © 2023 + 3 @@ -16,12 +18,12 @@ False - $(GameDirectory)\Plugins\BS_Utils.dll + $(BeatSaberDir)\Plugins\BS_Utils.dll False False - $(GameDirectory)\Plugins\SiraUtil.dll + $(BeatSaberDir)\Plugins\SiraUtil.dll False @@ -31,57 +33,57 @@ - $(GameDirectory)\Beat Saber_Data\Managed\Main.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll False - $(GameDirectory)\Beat Saber_Data\Managed\HMLib.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\HMLib.dll False - $(GameDirectory)\Beat Saber_Data\Managed\HMUI.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\HMUI.dll False - $(GameDirectory)\Beat Saber_Data\Managed\IPA.Loader.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\IPA.Loader.dll False - $(GameDirectory)\Beat Saber_Data\Managed\Unity.TextMeshPro.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\Unity.TextMeshPro.dll False - $(GameDirectory)\Beat Saber_Data\Managed\UnityEngine.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.dll False - $(GameDirectory)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll False - $(GameDirectory)\Beat Saber_Data\Managed\UnityEngine.UI.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UI.dll False - $(GameDirectory)\Beat Saber_Data\Managed\UnityEngine.UIElementsModule.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIElementsModule.dll False - $(GameDirectory)\Beat Saber_Data\Managed\UnityEngine.UIModule.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIModule.dll False False - $(GameDirectory)\Beat Saber_Data\Managed\UnityEngine.UnityWebRequestModule.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UnityWebRequestModule.dll False - $(GameDirectory)\Beat Saber_Data\Managed\UnityEngine.VRModule.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.VRModule.dll False False - $(GameDirectory)\Beat Saber_Data\Managed\Zenject.dll + $(BeatSaberDir)\Beat Saber_Data\Managed\Zenject.dll False