BsWidget.csproj 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props" Condition="Exists('C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props')" />
  4. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  5. <PropertyGroup>
  6. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  7. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  8. <ProjectGuid>{2D981A37-94D5-442D-A945-0D0F777345BC}</ProjectGuid>
  9. <OutputType>WinExe</OutputType>
  10. <RootNamespace>BsWidget</RootNamespace>
  11. <AssemblyName>BsWidget</AssemblyName>
  12. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  15. <Deterministic>true</Deterministic>
  16. <NuGetPackageImportStamp>
  17. </NuGetPackageImportStamp>
  18. </PropertyGroup>
  19. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  20. <PlatformTarget>AnyCPU</PlatformTarget>
  21. <DebugSymbols>true</DebugSymbols>
  22. <DebugType>full</DebugType>
  23. <Optimize>false</Optimize>
  24. <OutputPath>bin\Debug\</OutputPath>
  25. <DefineConstants>DEBUG;TRACE</DefineConstants>
  26. <ErrorReport>prompt</ErrorReport>
  27. <WarningLevel>4</WarningLevel>
  28. <LangVersion>latest</LangVersion>
  29. </PropertyGroup>
  30. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  31. <PlatformTarget>AnyCPU</PlatformTarget>
  32. <DebugType>pdbonly</DebugType>
  33. <Optimize>true</Optimize>
  34. <OutputPath>bin\Release\</OutputPath>
  35. <DefineConstants>TRACE</DefineConstants>
  36. <ErrorReport>prompt</ErrorReport>
  37. <WarningLevel>4</WarningLevel>
  38. <LangVersion>latest</LangVersion>
  39. </PropertyGroup>
  40. <PropertyGroup>
  41. <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
  42. </PropertyGroup>
  43. <ItemGroup>
  44. <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
  45. <HintPath>C:\NuGetLocalRepo\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
  46. </Reference>
  47. <Reference Include="System" />
  48. <Reference Include="System.Core" />
  49. <Reference Include="System.Xml.Linq" />
  50. <Reference Include="System.Data.DataSetExtensions" />
  51. <Reference Include="Microsoft.CSharp" />
  52. <Reference Include="System.Data" />
  53. <Reference Include="System.Deployment" />
  54. <Reference Include="System.Drawing" />
  55. <Reference Include="System.Net.Http" />
  56. <Reference Include="System.Windows.Forms" />
  57. <Reference Include="System.Xml" />
  58. <Reference Include="websocket-sharp, Version=1.0.2.59611, Culture=neutral, PublicKeyToken=5660b08a1845a91e, processorArchitecture=MSIL">
  59. <HintPath>C:\NuGetLocalRepo\WebSocketSharp.1.0.3-rc11\lib\websocket-sharp.dll</HintPath>
  60. </Reference>
  61. </ItemGroup>
  62. <ItemGroup>
  63. <Compile Include="BeatSaberHttpStatus\BeatSaberHttpStatusClient.cs" />
  64. <Compile Include="BeatSaberHttpStatus\BeatSaberStatusEventArgs.cs" />
  65. <Compile Include="BaseForm.cs">
  66. <SubType>Form</SubType>
  67. </Compile>
  68. <Compile Include="BaseForm.Designer.cs">
  69. <DependentUpon>BaseForm.cs</DependentUpon>
  70. </Compile>
  71. <Compile Include="BsYurHttpStatus\BsYurHttpStatusClient.cs" />
  72. <Compile Include="MainForm.cs">
  73. <SubType>Form</SubType>
  74. </Compile>
  75. <Compile Include="Program.cs" />
  76. <Compile Include="Properties\AssemblyInfo.cs" />
  77. <Compile Include="Properties\Resources.Designer.cs">
  78. <AutoGen>True</AutoGen>
  79. <DesignTime>True</DesignTime>
  80. <DependentUpon>Resources.resx</DependentUpon>
  81. </Compile>
  82. <EmbeddedResource Include="BaseForm.resx">
  83. <DependentUpon>BaseForm.cs</DependentUpon>
  84. </EmbeddedResource>
  85. <EmbeddedResource Include="Properties\Resources.resx">
  86. <Generator>ResXFileCodeGenerator</Generator>
  87. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  88. </EmbeddedResource>
  89. <None Include="packages.config" />
  90. </ItemGroup>
  91. <ItemGroup>
  92. <None Include="Resources\sample-cover.png" />
  93. </ItemGroup>
  94. <ItemGroup />
  95. <Import Project="..\BsWidgetShareCodes\BsWidgetShareCodes.projitems" Label="Shared" />
  96. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  97. <PropertyGroup>
  98. <PostBuildEvent>if $(ConfigurationName) == Release setlocal enabledelayedexpansion enableextensions
  99. if $(ConfigurationName) == Release set DLL_LIST=
  100. if $(ConfigurationName) == Release for %25%25x in ($(TargetDir)*.dll) do set DLL_LIST=!DLL_LIST! "%25%25x"
  101. if $(ConfigurationName) == Release echo dlls: !DLL_LIST!
  102. if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  103. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)" !DLL_LIST!
  104. if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"</PostBuildEvent>
  105. </PropertyGroup>
  106. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  107. <PropertyGroup>
  108. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  109. </PropertyGroup>
  110. <Error Condition="!Exists('C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props')" Text="$([System.String]::Format('$(ErrorText)', 'C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props'))" />
  111. </Target>
  112. </Project>