|
@@ -1,190 +1,119 @@
|
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<Project ToolsVersion="12.0" DefaultTargets="Build" 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>{6F9B6801-9F4B-4D1F-805D-271C95733814}</ProjectGuid>
|
|
|
- <OutputType>Library</OutputType>
|
|
|
- <AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
- <RootNamespace>SongBrowser</RootNamespace>
|
|
|
- <AssemblyName>SongBrowser</AssemblyName>
|
|
|
- <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
|
|
- <FileAlignment>512</FileAlignment>
|
|
|
- <LangVersion>6</LangVersion>
|
|
|
- <TargetFrameworkProfile>
|
|
|
- </TargetFrameworkProfile>
|
|
|
- </PropertyGroup>
|
|
|
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
- <PlatformTarget>AnyCPU</PlatformTarget>
|
|
|
- <DebugSymbols>true</DebugSymbols>
|
|
|
- <DebugType>pdbonly</DebugType>
|
|
|
- <Optimize>false</Optimize>
|
|
|
- <OutputPath>bin\Debug\</OutputPath>
|
|
|
- <DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
- <ErrorReport>prompt</ErrorReport>
|
|
|
- <WarningLevel>4</WarningLevel>
|
|
|
- <Prefer32Bit>false</Prefer32Bit>
|
|
|
- <LangVersion>7.0</LangVersion>
|
|
|
- </PropertyGroup>
|
|
|
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
|
- <PlatformTarget>AnyCPU</PlatformTarget>
|
|
|
- <DebugType>pdbonly</DebugType>
|
|
|
- <Optimize>true</Optimize>
|
|
|
- <OutputPath>bin\Release\</OutputPath>
|
|
|
- <DefineConstants>TRACE</DefineConstants>
|
|
|
- <ErrorReport>prompt</ErrorReport>
|
|
|
- <WarningLevel>4</WarningLevel>
|
|
|
- <Prefer32Bit>false</Prefer32Bit>
|
|
|
- <LangVersion>7.0</LangVersion>
|
|
|
- </PropertyGroup>
|
|
|
- <ItemGroup>
|
|
|
- <Reference Include="BeatmapCore">
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BeatmapCore.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="BSML, Version=1.3.5.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Plugins\BSML.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="BS_Utils">
|
|
|
- <HintPath>$(BeatSaberDir)\Plugins\BS_Utils.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="HMLib">
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMLib.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="HMUI">
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMUI.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="IPA.Loader, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\IPA.Loader.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="Main, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="Newtonsoft.Json.12.0.0.0">
|
|
|
- <HintPath>$(BeatSaberDir)\Libs\Newtonsoft.Json.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="Polyglot, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Polyglot.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="SongCore">
|
|
|
- <HintPath>$(BeatSaberDir)\Plugins\SongCore.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="SongDataCore, Version=1.2.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Plugins\SongDataCore.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="System" />
|
|
|
- <Reference Include="System.Data" />
|
|
|
- <Reference Include="System.IO.Compression" />
|
|
|
- <Reference Include="System.IO.Compression.FileSystem" />
|
|
|
- <Reference Include="System.Security" />
|
|
|
- <Reference Include="System.Xml" />
|
|
|
- <Reference Include="Unity.TextMeshPro">
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Unity.TextMeshPro.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.AudioModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.AudioModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.ImageConversionModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.JSONSerializeModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.JSONSerializeModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.TextRenderingModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UI.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIElementsModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.UIModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.UnityWebRequestModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UnityWebRequestModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="UnityEngine.UnityWebRequestWWWModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UnityWebRequestWWWModule.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- <Reference Include="VRUI, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
- <SpecificVersion>False</SpecificVersion>
|
|
|
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\VRUI.dll</HintPath>
|
|
|
- </Reference>
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <Compile Include="Internals\BeatSaberUI.cs" />
|
|
|
- <Compile Include="Internals\BeatSaberExtensions.cs" />
|
|
|
- <Compile Include="UI\Browser\BeatSaberUIController.cs" />
|
|
|
- <Compile Include="DataAccess\Playlist.cs" />
|
|
|
- <Compile Include="Internals\SimpleJSON.cs" />
|
|
|
- <Compile Include="Logging\Logger.cs" />
|
|
|
- <Compile Include="UI\ProgressBar.cs" />
|
|
|
- <Compile Include="SongBrowserApplication.cs" />
|
|
|
- <Compile Include="Plugin.cs" />
|
|
|
- <Compile Include="Properties\AssemblyInfo.cs" />
|
|
|
- <Compile Include="DataAccess\SongBrowserModel.cs" />
|
|
|
- <Compile Include="DataAccess\SongBrowserSettings.cs" />
|
|
|
- <Compile Include="UI\Base64Sprites.cs" />
|
|
|
- <Compile Include="UI\Browser\SongBrowserUI.cs" />
|
|
|
- <Compile Include="UI\Browser\SongFilterButton.cs" />
|
|
|
- <Compile Include="UI\Browser\SongSortButton.cs" />
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <EmbeddedResource Include="Assets\DeleteIcon.png" />
|
|
|
- <EmbeddedResource Include="Assets\DoubleArrow.png" />
|
|
|
- <EmbeddedResource Include="Assets\Graph.png" />
|
|
|
- <EmbeddedResource Include="Assets\RandomIcon.png" />
|
|
|
- <EmbeddedResource Include="Assets\SongIcon.png" />
|
|
|
- <EmbeddedResource Include="Assets\StarFull.png" />
|
|
|
- <EmbeddedResource Include="Assets\Search.png" />
|
|
|
- <EmbeddedResource Include="Assets\Speed.png" />
|
|
|
- <EmbeddedResource Include="Assets\X.png" />
|
|
|
- <EmbeddedResource Include="Assets\NoteStartOffset.png" />
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <None Include="packages.config" />
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <EmbeddedResource Include="manifest.json" />
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <Content Include="SongBrowser.csproj.user" />
|
|
|
- </ItemGroup>
|
|
|
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
- <PropertyGroup>
|
|
|
- <PostBuildEvent>IF EXIST "C:\Program Files\Oculus\Software\Software\hyperbolic-magnetism-beat-saber\Plugins" xcopy "$(TargetDir)$(TargetFileName)" "C:\Program Files\Oculus\Software\Software\hyperbolic-magnetism-beat-saber\Plugins" /Y
|
|
|
-IF EXIST "$(BeatSaberDir)\Plugins" xcopy "$(TargetDir)$(TargetFileName)" "$(BeatSaberDir)\Plugins" /Y</PostBuildEvent>
|
|
|
- </PropertyGroup>
|
|
|
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
|
- Other similar extension points exist, see Microsoft.Common.targets.
|
|
|
- <Target Name="BeforeBuild">
|
|
|
- </Target>
|
|
|
- <Target Name="AfterBuild">
|
|
|
- </Target>
|
|
|
- -->
|
|
|
+<Project Sdk="Microsoft.NET.Sdk">
|
|
|
+
|
|
|
+ <PropertyGroup>
|
|
|
+ <TargetFramework>net472</TargetFramework>
|
|
|
+ <OutputType>Library</OutputType>
|
|
|
+ <LangVersion>8</LangVersion>
|
|
|
+ <Nullable>enable</Nullable>
|
|
|
+ <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
|
+ <RootNamespace>SongBrowser</RootNamespace>
|
|
|
+ <LocalRefsDir Condition="Exists('..\Refs')">..\Refs</LocalRefsDir>
|
|
|
+ <BeatSaberDir>$(LocalRefsDir)</BeatSaberDir>
|
|
|
+ <AppOutputBase>$(MSBuildProjectDirectory)\</AppOutputBase>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
|
+ <DebugType>full</DebugType>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
|
+ <DebugType>pdbonly</DebugType>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <PropertyGroup Condition="$(DefineConstants.Contains('CIBuild')) OR '$(NCrunch)' == '1'">
|
|
|
+ <DisableCopyToPlugins>True</DisableCopyToPlugins>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <PropertyGroup Condition="'$(NCrunch)' == '1'">
|
|
|
+ <DisableCopyToPlugins>True</DisableCopyToPlugins>
|
|
|
+ <DisableZipRelease>True</DisableZipRelease>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <ItemGroup>
|
|
|
+ <Reference Include="Unity.TextMeshPro">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Unity.TextMeshPro.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="UnityEngine.CoreModule">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="UnityEngine.ImageConversionModule">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="UnityEngine.UI">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UI.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="UnityEngine.UIModule">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIModule.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="HMLib">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMLib.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="HMUI">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMUI.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="Polyglot">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Polyglot.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="VRUI">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\VRUI.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="Main">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="BeatmapCore">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BeatmapCore.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="Newtonsoft.Json">
|
|
|
+ <HintPath>$(BeatSaberDir)\Libs\Newtonsoft.Json.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="IPA.Loader">
|
|
|
+ <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\IPA.Loader.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="BSML">
|
|
|
+ <Private>False</Private>
|
|
|
+ <HintPath>$(BeatSaberDir)\Plugins\BSML.dll</HintPath>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="BS_Utils">
|
|
|
+ <HintPath>$(BeatSaberDir)\Plugins\BS_Utils.dll</HintPath>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="SongCore">
|
|
|
+ <HintPath>$(BeatSaberDir)\Plugins\SongCore.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ <Reference Include="SongDataCore">
|
|
|
+ <HintPath>$(BeatSaberDir)\Plugins\SongDataCore.dll</HintPath>
|
|
|
+ <Private>False</Private>
|
|
|
+ </Reference>
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
+ <ItemGroup>
|
|
|
+ <None Include="Directory.Build.props" Condition="Exists('Directory.Build.props')" />
|
|
|
+ <None Include="Directory.Build.targets" Condition="Exists('Directory.Build.targets')" />
|
|
|
+ <None Include="SongBrowser.csproj.user" Condition="Exists('SongBrowser.csproj.user')" />
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
+ <ItemGroup>
|
|
|
+ <EmbeddedResource Include="Assets\*.png" />
|
|
|
+ <EmbeddedResource Include="manifest.json" />
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
+ <ItemGroup>
|
|
|
+ <PackageReference Include="BeatSaberModdingTools.Tasks" Version="1.3.2">
|
|
|
+ <PrivateAssets>all</PrivateAssets>
|
|
|
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
+ </PackageReference>
|
|
|
+ </ItemGroup>
|
|
|
</Project>
|