@@ -1,166 +1,90 @@
<?xml version =" 1.0" encoding =" utf-8" ?>
<Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
<Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup >
<Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
<Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
<ProjectGuid >{384D0D40-A096-46C7-A365-EB8A5CD55D54}</ProjectGuid >
<OutputType >Library</OutputType >
<AppDesignerFolder >Properties</AppDesignerFolder >
<RootNamespace >ContentSettings</RootNamespace >
<AssemblyName >ContentSettings</AssemblyName >
<TargetFrameworkVersion >v4.8</TargetFrameworkVersion >
<FileAlignment >512</FileAlignment >
<Deterministic >true</Deterministic >
</PropertyGroup >
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
<DebugSymbols >true</DebugSymbols >
<DebugType >full</DebugType >
<Optimize >false</Optimize >
<OutputPath >bin\Debug\</OutputPath >
<DefineConstants >DEBUG;TRACE</DefineConstants >
<ErrorReport >prompt</ErrorReport >
<WarningLevel >4</WarningLevel >
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
</PropertyGroup >
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
<DebugType >pdbonly</DebugType >
<Optimize >true</Optimize >
<OutputPath >bin\Release\</OutputPath >
<DefineConstants >TRACE</DefineConstants >
<ErrorReport >prompt</ErrorReport >
<WarningLevel >4</WarningLevel >
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
</PropertyGroup >
<ItemGroup >
<Reference Include =" 0Harmony" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\0Harmony.dll</HintPath >
</Reference >
<Reference Include =" Assembly-CSharp" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Assembly-CSharp.dll</HintPath >
</Reference >
<Reference Include =" Assembly-CSharp-firstpass" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath >
</Reference >
<Reference Include =" Assembly-CSharp_publicized, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion >False</SpecificVersion >
<HintPath >..\..\..\..\Downloads\publicized_assemblies\Assembly-CSharp_publicized.dll</HintPath >
</Reference >
<Reference Include =" BepInEx" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\BepInEx.dll</HintPath >
</Reference >
<Reference Include =" BepInEx.Harmony" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\BepInEx.Harmony.dll</HintPath >
</Reference >
<Reference Include =" BepInEx.Preloader" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\BepInEx.Preloader.dll</HintPath >
</Reference >
<Reference Include =" HarmonyXInterop" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\HarmonyXInterop.dll</HintPath >
</Reference >
<Reference Include =" Mono.Cecil" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\Mono.Cecil.dll</HintPath >
</Reference >
<Reference Include =" Mono.Cecil.Mdb" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\Mono.Cecil.Mdb.dll</HintPath >
</Reference >
<Reference Include =" Mono.Cecil.Pdb" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\Mono.Cecil.Pdb.dll</HintPath >
</Reference >
<Reference Include =" Mono.Cecil.Rocks" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\Mono.Cecil.Rocks.dll</HintPath >
</Reference >
<Reference Include =" MonoMod.RuntimeDetour" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\MonoMod.RuntimeDetour.dll</HintPath >
</Reference >
<Reference Include =" MonoMod.Utils" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\BepInEx\core\MonoMod.Utils.dll</HintPath >
</Reference >
<Reference Include =" Newtonsoft.Json" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Newtonsoft.Json.dll</HintPath >
</Reference >
<Reference Include =" PhotonRealtime" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\PhotonRealtime.dll</HintPath >
</Reference >
<Reference Include =" PhotonUnityNetworking" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\PhotonUnityNetworking.dll</HintPath >
</Reference >
<Reference Include =" PhotonVoice.PUN" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\PhotonVoice.PUN.dll</HintPath >
</Reference >
<Reference Include =" Sirenix.Serialization" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Sirenix.Serialization.dll</HintPath >
</Reference >
<Reference Include =" System" />
<Reference Include =" System.Core" />
<Reference Include =" System.Xml.Linq" />
<Reference Include =" System.Data.DataSetExtensions" />
<Reference Include =" Microsoft.CSharp" />
<Reference Include =" System.Data" />
<Reference Include =" System.Net.Http" />
<Reference Include =" System.Xml" />
<Reference Include =" Unity.Localization" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Unity.Localization.dll</HintPath >
</Reference >
<Reference Include =" Unity.TextMeshPro" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Unity.TextMeshPro.dll</HintPath >
</Reference >
<Reference Include =" UnityEngine" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\UnityEngine.dll</HintPath >
</Reference >
<Reference Include =" UnityEngine.CoreModule" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\UnityEngine.CoreModule.dll</HintPath >
</Reference >
<Reference Include =" UnityEngine.IMGUIModule" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath >
</Reference >
<Reference Include =" UnityEngine.InputLegacyModule" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath >
</Reference >
<Reference Include =" UnityEngine.JSONSerializeModule" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\UnityEngine.JSONSerializeModule.dll</HintPath >
</Reference >
<Reference Include =" UnityEngine.LocalizationModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion >False</SpecificVersion >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\UnityEngine.LocalizationModule.dll</HintPath >
</Reference >
<Reference Include =" UnityEngine.SharedInternalsModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion >False</SpecificVersion >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\UnityEngine.SharedInternalsModule.dll</HintPath >
</Reference >
<Reference Include =" UnityEngine.UI" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\UnityEngine.UI.dll</HintPath >
</Reference >
<Reference Include =" UnityEngine.UIElementsModule" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\UnityEngine.UIElementsModule.dll</HintPath >
</Reference >
<Reference Include =" Zorro.Core.Runtime" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Zorro.Core.Runtime.dll</HintPath >
</Reference >
<Reference Include =" Zorro.PhotonUtility" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Zorro.PhotonUtility.dll</HintPath >
</Reference >
<Reference Include =" Zorro.Recorder, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion >False</SpecificVersion >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Zorro.Recorder.dll</HintPath >
</Reference >
<Reference Include =" Zorro.Settings.Runtime" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Zorro.Settings.Runtime.dll</HintPath >
</Reference >
<Reference Include =" Zorro.UI.Runtime" >
<HintPath >E:\SteamLibrary\steamapps\common\Content Warning\Content Warning_Data\Managed\Zorro.UI.Runtime.dll</HintPath >
</Reference >
</ItemGroup >
<ItemGroup >
<Compile Include =" API\Patches\SaveSettingsPatch.cs" />
<Compile Include =" API\Patches\SettingsPageOpenPatch.cs" />
<Compile Include =" API\Patches\SettingsTabSelectModdedPatch.cs" />
<Compile Include =" API\SettingsLoader.cs" />
<Compile Include =" Main.cs" />
<Compile Include =" Properties\AssemblyInfo.cs" />
</ItemGroup >
<ItemGroup >
<None Include =" README.md" />
</ItemGroup >
<Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project >
<Project Sdk =" Microsoft.NET.Sdk" >
<PropertyGroup >
<PackageId >CommanderCat101.ContentSettings</PackageId >
<AssemblyName >CommanderCat101.ContentSettings</AssemblyName >
<Version >1.0.1</Version >
<Description >A library for adding Modded Settings.</Description >
<Authors >CommanderCat101;dhkatz</Authors >
<PackageReadmeFile >README.md</PackageReadmeFile >
<PackageLicenseExpression >GPL-3.0-or-later</PackageLicenseExpression >
<PackageProjectUrl >https://github.com/Commander-Cat101/ContentSettings</PackageProjectUrl >
<RepositoryUrl >https://github.com/Commander-Cat101/ContentSettings</RepositoryUrl >
<RepositoryType >git</RepositoryType >
<TargetFramework >netstandard2.1</TargetFramework >
<RestoreAdditionalProjectSources >
https://api.nuget.org/v3/index.json;
https://nuget.bepinex.dev/v3/index.json;
</RestoreAdditionalProjectSources >
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
<LangVersion >latest</LangVersion >
<Nullable >enable</Nullable >
<!-- Auto Versioning -->
<MinVerDefaultPreReleaseIdentifiers >dev</MinVerDefaultPreReleaseIdentifiers >
<MinVerTagPrefix >v</MinVerTagPrefix >
<!-- Needed for BepInEx.AssemblyPublicizer.MSBuild compatibility with MonoMod -->
<NoWarn >$(NoWarn);CS0436</NoWarn >
</PropertyGroup >
<!-- BepInEx References -->
<ItemGroup >
<PackageReference Include =" BepInEx.Analyzers" Version =" 1.*" PrivateAssets =" all" ExcludeAssets =" RUNTIME" />
<PackageReference Include =" BepInEx.Core" Version =" 5.*" ExcludeAssets =" RUNTIME" />
<PackageReference Include =" BepInEx.PluginInfoProps" Version =" 2.*" ExcludeAssets =" RUNTIME" />
<PackageReference Include =" UnityEngine.Modules" Version =" 2022.3.10" IncludeAssets =" compile" ExcludeAssets =" RUNTIME" />
</ItemGroup >
<ItemGroup >
<PackageReference Include =" BepInEx.AssemblyPublicizer.MSBuild" Version =" 0.4.1" PrivateAssets =" all" ExcludeAssets =" RUNTIME" >
<IncludeAssets >compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
</PackageReference >
<PackageReference Include =" MinVer" Version =" 4.*" PrivateAssets =" all" Private =" false" />
<PackageReference Include =" StyleCop.Analyzers" Version =" 1.1.118" ExcludeAssets =" RUNTIME" >
<PrivateAssets >all</PrivateAssets >
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
</PackageReference >
</ItemGroup >
<ItemGroup Condition =" $(CI) != 'true'" >
<Reference Include =" Assembly-CSharp" HintPath =" $(CW_REFERENCES)\Assembly-CSharp.dll" Private =" False" ExcluseAssets =" RUNTIME" Publicize =" True" />
<Reference Include =" Unity.Localization" HintPath =" $(CW_REFERENCES)\Unity.Localization.dll" Private =" False" ExcluseAssets =" RUNTIME" Publicize =" true" />
<Reference Include =" Unity.TextMeshPro" HintPath =" $(CW_REFERENCES)\Unity.TextMeshPro.dll" Private =" False" ExcluseAssets =" RUNTIME" Publicize =" true" />
<Reference Include =" UnityEngine.UI" HintPath =" $(CW_REFERENCES)\UnityEngine.UI.dll" Private =" False" ExcluseAssets =" RUNTIME" Publicize =" true" />
<Reference Include =" Zorro.Core.Runtime" HintPath =" $(CW_REFERENCES)\Zorro.Core.Runtime.dll" Private =" False" ExcluseAssets =" RUNTIME" Publicize =" true" />
<Reference Include =" Zorro.Settings.Runtime" HintPath =" $(CW_REFERENCES)\Zorro.Settings.Runtime.dll" Private =" False" ExcluseAssets =" RUNTIME" Publicize =" True" />
<Reference Include =" Zorro.UI.Runtime" HintPath =" $(CW_REFERENCES)\Zorro.UI.Runtime.dll" Private =" False" ExcluseAssets =" RUNTIME" Publicize =" true" />
</ItemGroup >
<ItemGroup Condition =" $(CI) == 'true'" >
<PackageReference Include =" ContentWarning.GameLibs.Steam" Version =" 0.1.7-a-ngd.0" Publicize =" true" PrivateAssets =" All" />
</ItemGroup >
<ItemGroup >
<None Include =" $(ProjectDir)../README.md" Pack =" true" PackagePath =" /" />
</ItemGroup >
<!-- MinVer Set Mod Version from Git -->
<Target Name =" SetPluginVersion" BeforeTargets =" AddGeneratedFile" DependsOnTargets =" MinVer" >
<PropertyGroup >
<PlainVersion >$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)</PlainVersion >
<BepInExPluginVersion >$(PlainVersion)</BepInExPluginVersion >
</PropertyGroup >
</Target >
<Target Name =" ThunderstorePack" AfterTargets =" PostBuildEvent" Condition =" $(TargetFramework) == 'netstandard2.1' and $(Configuration) == 'Release' and $(CI) == 'true'" DependsOnTargets =" SetPluginVersion" >
<Exec Command =" dotnet tcli build --config-path $(ProjectDir)../assets/thunderstore.toml --package-version $(PlainVersion)" />
<ItemGroup >
<FilesToRename Include =" $(ProjectDir)../dist/*-$(PlainVersion).zip" />
</ItemGroup >
<Move SourceFiles =" @(FilesToRename)" DestinationFiles =" @(FilesToRename -> Replace($(PlainVersion), $(MinVerVersion)))" />
</Target >
<ItemGroup >
<AdditionalFiles Include =" $(MSBuildThisFileDirectory)stylecop.json" Link =" stylecop.json" />
</ItemGroup >
</Project >