GpuFanControl.csproj 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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>{FBEB7CB4-4D77-4424-A1E6-C56617AA2F02}</ProjectGuid>
  9. <OutputType>Exe</OutputType>
  10. <RootNamespace>GpuFanControl</RootNamespace>
  11. <AssemblyName>GFC</AssemblyName>
  12. <TargetFrameworkVersion>v4.7.2</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. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  29. <Prefer32Bit>false</Prefer32Bit>
  30. </PropertyGroup>
  31. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  32. <PlatformTarget>AnyCPU</PlatformTarget>
  33. <DebugType>pdbonly</DebugType>
  34. <Optimize>true</Optimize>
  35. <OutputPath>bin\Release\</OutputPath>
  36. <DefineConstants>TRACE</DefineConstants>
  37. <ErrorReport>prompt</ErrorReport>
  38. <WarningLevel>4</WarningLevel>
  39. <Prefer32Bit>false</Prefer32Bit>
  40. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  41. </PropertyGroup>
  42. <ItemGroup>
  43. <Reference Include="MSIAfterburner.NET, Version=1.1.1.0, Culture=neutral, processorArchitecture=MSIL">
  44. <SpecificVersion>False</SpecificVersion>
  45. <HintPath>ReferenceAssemblies\MSIAfterburner.NET.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.Net.Http" />
  54. <Reference Include="System.Xml" />
  55. </ItemGroup>
  56. <ItemGroup>
  57. <Compile Include="MsiAfterburnerWrap\TryingSandBox.cs" />
  58. <Compile Include="Program.cs" />
  59. <Compile Include="Properties\AssemblyInfo.cs" />
  60. </ItemGroup>
  61. <ItemGroup>
  62. <None Include="App.config" />
  63. <None Include="packages.config" />
  64. <None Include="ReferenceAssemblies\MSIAfterburner.NET.chm" />
  65. </ItemGroup>
  66. <ItemGroup />
  67. <ItemGroup>
  68. <Content Include="ReferenceAssemblies\MSIAfterburner.NET.dll" />
  69. </ItemGroup>
  70. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  71. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  72. <PropertyGroup>
  73. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  74. </PropertyGroup>
  75. <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'))" />
  76. </Target>
  77. <PropertyGroup>
  78. <PostBuildEvent>if $(ConfigurationName) == Release setlocal enabledelayedexpansion enableextensions
  79. if $(ConfigurationName) == Release set DLL_LIST=
  80. if $(ConfigurationName) == Release for %25%25x in ($(TargetDir)*.dll) do set DLL_LIST=!DLL_LIST! "%25%25x"
  81. if $(ConfigurationName) == Release echo dlls: !DLL_LIST!
  82. if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  83. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)" !DLL_LIST!
  84. if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"</PostBuildEvent>
  85. </PropertyGroup>
  86. </Project>