From 501bdb2ba39584db1162493be5abf22da982e295 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 4 Apr 2021 05:24:04 +0200 Subject: [PATCH] Add targets with common data and references --- ValheimMods.sln | 1 + valheim.targets | 260 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 261 insertions(+) create mode 100644 valheim.targets diff --git a/ValheimMods.sln b/ValheimMods.sln index 17472bf..d209293 100644 --- a/ValheimMods.sln +++ b/ValheimMods.sln @@ -121,6 +121,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ProjectSection(SolutionItems) = preProject LICENSE.txt = LICENSE.txt Mods.html = Mods.html + valheim.targets = valheim.targets EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConfigurationManager", "ConfigurationManager\ConfigurationManager.csproj", "{104215E5-C277-4D43-A52C-B31467312299}" diff --git a/valheim.targets b/valheim.targets new file mode 100644 index 0000000..bb93fad --- /dev/null +++ b/valheim.targets @@ -0,0 +1,260 @@ + + + + $(ProjectName) + $(ProjectName) + net452 + AnyCPU + AnyCPU + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + $(HOME)/.steam/steam/steamapps/common/Valheim + $(HOME)/Library/Application Support/Steam/steamapps/common/Valheim/Contents/MacOS + + + + + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 892970', 'InstallLocation', null, RegistryView.Registry64, RegistryView.Registry32)) + <_SteamLibraryPath>$([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\SOFTWARE\Valve\Steam', 'SteamPath', null, RegistryView.Registry32)) + $(_SteamLibraryPath)\steamapps\common\Valheim + C:\Program Files\Steam\steamapps\common\Valheim + C:\Program Files (x86)\Steam\steamapps\common\Valheim + + + + + + + + False + $(GamePath)\BepInEx\core\0Harmony20.dll + False + + + False + $(GamePath)\BepInEx\core\BepInEx.dll + False + + + + + + + False + $(GamePath)\valheim_Data\Managed\assembly_valheim.dll + False + + + False + $(GamePath)\valheim_Data\Managed\assembly_googleanalytics.dll + False + + + False + $(GamePath)\valheim_Data\Managed\assembly_guiutils.dll + False + + + False + $(GamePath)\valheim_Data\Managed\assembly_postprocessing.dll + False + + + False + $(GamePath)\valheim_Data\Managed\assembly_steamworks.dll + False + + + False + $(GamePath)\valheim_Data\Managed\assembly_sunshafts.dll + False + + + False + $(GamePath)\valheim_Data\Managed\assembly_utils.dll + False + + + + + + + False + $(GamePath)\unstripped_corlib\UnityEngine.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.AccessibilityModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.AIModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.AnimationModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.AudioModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.ClothModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.CoreModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.InputLegacyModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.ParticleSystemModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.PhysicsModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.ScreenCaptureModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.UI.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.UIModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.UIElementsModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.InputModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.JSONSerializeModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.IMGUIModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.ImageConversionModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.TerrainModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.TextCoreModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.TextRenderingModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.UnityWebRequestAudioModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.UnityWebRequestModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.UnityWebRequestWWWModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.UnityWebRequestTextureModule.dll + False + + + False + $(GamePath)\unstripped_corlib\UnityEngine.AssetBundleModule.dll + False + + + + + + Always + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file