SHA256
118 lines
5.7 KiB
XML
118 lines
5.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<NoWarn>MSB3277</NoWarn>
|
|
<EnableSourceControlManagerQueries>false</EnableSourceControlManagerQueries>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<LangVersion>9</LangVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="0Harmony">
|
|
<HintPath>$(ADOFAI_PATH)\MelonLoader\net35\0Harmony.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Assembly-CSharp">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\Assembly-CSharp.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Assembly-CSharp-firstpass">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="DOTween">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\DOTween.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="MelonLoader">
|
|
<HintPath>$(ADOFAI_PATH)\MelonLoader\net35\MelonLoader.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="RDTools">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\RDTools.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="SkyHook.Unity">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\SkyHook.Unity.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Unity.TextMeshPro">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\Unity.TextMeshPro.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.AssetBundleModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.AssetBundleModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.AudioModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.AudioModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.CoreModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.IMGUIModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.ParticleSystemModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.ParticleSystemModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.TextRenderingModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.InputLegacyModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.InputModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.InputModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.UI">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.UI.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.UIElementsModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.UIElementsModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.UIModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.UIModule.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.VideoModule">
|
|
<HintPath>$(ADOFAI_PATH)\A Dance of Fire and Ice_Data\Managed\UnityEngine.VideoModule.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Bundle\Win64\fonts" />
|
|
<EmbeddedResource Include="Bundle\Win64\fonts" />
|
|
<None Remove="Bundle\Win64\scenes" />
|
|
<EmbeddedResource Include="Bundle\Win64\scenes" />
|
|
<None Remove="Bundle\Win64\shaders" />
|
|
<EmbeddedResource Include="Bundle\Win64\shaders" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Bundle\Linux\fonts" />
|
|
<EmbeddedResource Include="Bundle\Linux\fonts" />
|
|
<None Remove="Bundle\Linux\scenes" />
|
|
<EmbeddedResource Include="Bundle\Linux\scenes" />
|
|
<None Remove="Bundle\Linux\shaders" />
|
|
<EmbeddedResource Include="Bundle\Linux\shaders" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="obfuscar.xml" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="FFmpeg.AutoGen" Version="8.1.0" />
|
|
<PackageReference Include="Obfuscar" Version="2.2.49">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
<GeneratePathProperty>true</GeneratePathProperty>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<Target Name="Obfuscate" AfterTargets="AfterBuild" Condition="'$(Configuration)'=='Release'">
|
|
<Exec Command=""$(Obfuscar)" obfuscar.xml" EnvironmentVariables="ADOFAI_PATH=$(ADOFAI_PATH)" />
|
|
<Copy SourceFiles="$(TargetDir)obfuscated\$(TargetName).dll" DestinationFolder="$(TargetDir)" OverwriteReadOnlyFiles="true" />
|
|
<Copy SourceFiles="$(TargetDir)obfuscated\$(TargetName).pdb" DestinationFolder="$(TargetDir)" OverwriteReadOnlyFiles="true" Condition="Exists('$(TargetDir)obfuscated\$(TargetName).pdb')" />
|
|
<Message Text="Obfuscating project and replacing original binaries..." Importance="high" />
|
|
</Target>
|
|
|
|
</Project>
|