PixivLocalSniCover.csproj 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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.16\build\ILRepack.props" Condition="Exists('C:\NuGetLocalRepo\ILRepack.2.0.16\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>{5E973BAF-A5BF-429F-A691-4C802C6598A2}</ProjectGuid>
  9. <OutputType>Exe</OutputType>
  10. <RootNamespace>PixivLocalSniCover</RootNamespace>
  11. <AssemblyName>PixivLocalSniCover</AssemblyName>
  12. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  15. <NuGetPackageImportStamp>
  16. </NuGetPackageImportStamp>
  17. <TargetFrameworkProfile />
  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. <Prefer32Bit>false</Prefer32Bit>
  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. <Prefer32Bit>false</Prefer32Bit>
  39. </PropertyGroup>
  40. <PropertyGroup>
  41. <StartupObject>
  42. </StartupObject>
  43. </PropertyGroup>
  44. <PropertyGroup>
  45. <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
  46. </PropertyGroup>
  47. <ItemGroup>
  48. <Compile Include="Program.cs" />
  49. <EmbeddedResource Include="Properties\Resources.resx">
  50. <Generator>ResXFileCodeGenerator</Generator>
  51. <SubType>Designer</SubType>
  52. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  53. </EmbeddedResource>
  54. <None Include="packages.config" />
  55. <None Include="server.pfx" />
  56. <Compile Include="Properties\Resources.Designer.cs">
  57. <AutoGen>True</AutoGen>
  58. <DesignTime>True</DesignTime>
  59. <DependentUpon>Resources.resx</DependentUpon>
  60. </Compile>
  61. </ItemGroup>
  62. <ItemGroup>
  63. <Reference Include="System" />
  64. </ItemGroup>
  65. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  66. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  67. <PropertyGroup>
  68. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  69. </PropertyGroup>
  70. <Error Condition="!Exists('C:\NuGetLocalRepo\ILRepack.2.0.16\build\ILRepack.props')" Text="$([System.String]::Format('$(ErrorText)', 'C:\NuGetLocalRepo\ILRepack.2.0.16\build\ILRepack.props'))" />
  71. </Target>
  72. <PropertyGroup>
  73. <PostBuildEvent>if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  74. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)"
  75. if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"</PostBuildEvent>
  76. </PropertyGroup>
  77. </Project>