<?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>{23AB2621-A05C-4377-8418-85E6012C0BBE}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>BSIPA_ModList</RootNamespace>
    <AssemblyName>BSIPA-ModList</AssemblyName>
    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <Deterministic>true</Deterministic>
    <LangVersion>8.0</LangVersion>
    <PathMap>$(SolutionDir)=C:\</PathMap>
    <TargetFrameworkProfile />
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>portable</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>portable</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Assembly-CSharp">
      <HintPath>..\Refs\Assembly-CSharp.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="BeatSaberCustomUI">
      <HintPath>..\Refs\BeatSaberCustomUI.dll</HintPath>
      <Private>False</Private>
    </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.TextMeshPro">
      <HintPath>..\Refs\Unity.TextMeshPro.dll</HintPath>
    </Reference>
    <Reference Include="UnityEngine">
      <HintPath>..\Refs\UnityEngine.Net4.dll</HintPath>
    </Reference>
    <Reference Include="UnityEngine.AssetBundleModule">
      <HintPath>..\Refs\UnityEngine.AssetBundleModule.dll</HintPath>
    </Reference>
    <Reference Include="UnityEngine.CoreModule">
      <HintPath>..\Refs\UnityEngine.CoreModule.Net4.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="UnityEngine.TextRenderingModule">
      <HintPath>..\Refs\UnityEngine.TextRenderingModule.dll</HintPath>
    </Reference>
    <Reference Include="UnityEngine.UI">
      <HintPath>..\Refs\UnityEngine.UI.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="UnityEngine.UIModule">
      <HintPath>..\Refs\UnityEngine.UIModule.dll</HintPath>
      <Private>False</Private>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="DownloadController.cs" />
    <Compile Include="Plugin.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="UI\ButtonUI.cs" />
    <Compile Include="UI\DownloadProgressCell.cs" />
    <Compile Include="UI\ModListFlowCoordinator.cs" />
    <Compile Include="UI\ViewControllers\SettingsViewController.cs" />
    <Compile Include="UI\ViewControllers\BackButtonNavigationController.cs" />
    <Compile Include="UI\ViewControllers\DownloadProgressViewController.cs" />
    <Compile Include="UI\FloatingNotification.cs" />
    <Compile Include="UI\ViewControllers\MarkdownView.cs" />
    <Compile Include="UI\ViewControllers\ModCells.cs" />
    <Compile Include="UI\ViewControllers\ModInfoViewController.cs" />
    <Compile Include="UI\ViewControllers\ModListController.cs" />
    <Compile Include="UI\WarningUI.cs" />
    <Compile Include="Utilities.cs" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\IPA.Loader\IPA.Loader.csproj">
      <Project>{5ad344f0-01a0-4ca8-92e5-9d095737744d}</Project>
      <Name>IPA.Loader</Name>
      <Private>False</Private>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="manifest.json" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="CommonMark.NET">
      <Version>0.15.1</Version>
    </PackageReference>
    <PackageReference Include="SemanticVersioning">
      <Version>1.2.2</Version>
    </PackageReference>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Icons\mod_bsipa.png" />
    <EmbeddedResource Include="Icons\mod_ipa.png" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Icons\self.png" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Icons\library.png" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="README.md" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="..\TMP Exporter\Assets\AssetBundles\fonts\consolas.font">
      <Link>Bundles\consolas.font</Link>
    </EmbeddedResource>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Target Name="AfterBuild">
    <Message Text="Packing..." Importance="normal" />
    <ItemGroup>
      <CMark Include="$(OutputPath)CommonMark.*" />
      <BadFiles Include="$(OutputPath)**/*" Exclude="$(OutputPath)**/$(AssemblyName).*;@(CMark)" />
    </ItemGroup>
    <Delete Files="@(BadFiles)" />
    <Move SourceFiles="@(CMark)" DestinationFolder="$(OutputPath)Libs/" />
    <ItemGroup>
      <UnBadFiles Include="$(OutputPath)*" />
    </ItemGroup>
    <Move SourceFiles="@(UnBadFiles)" DestinationFolder="$(OutputPath)Plugins/" />
    <Exec Command="&quot;$(MSBuildBinPath)\MSBuild.exe&quot; &quot;$(MSBuildProjectDirectory)\PostBuild.msbuild&quot; /property:OPath=$(OutputPath) /property:Configuration=$(Configuration) /property:SolDir=$(SolutionDir)" />
  </Target>
</Project>