GpuFanControl.csproj 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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="System" />
  44. <Reference Include="System.Core" />
  45. <Reference Include="System.Xml.Linq" />
  46. <Reference Include="System.Data.DataSetExtensions" />
  47. <Reference Include="Microsoft.CSharp" />
  48. <Reference Include="System.Data" />
  49. <Reference Include="System.Net.Http" />
  50. <Reference Include="System.Xml" />
  51. </ItemGroup>
  52. <ItemGroup>
  53. <Compile Include="MsiAfterburnerWrap\ShareMemoryStructs\MACM_SHARED_MEMORY_COMMAND.cs" />
  54. <Compile Include="MsiAfterburnerWrap\ShareMemoryStructs\MACM_SHARED_MEMORY_FLAG.cs" />
  55. <Compile Include="MsiAfterburnerWrap\ShareMemoryStructs\MACM_SHARED_MEMORY_GPU_ENTRY_FAN_FLAG.cs" />
  56. <Compile Include="MsiAfterburnerWrap\ShareMemoryStructs\MACM_SHARED_MEMORY_GPU_ENTRY_FLAG.cs" />
  57. <Compile Include="MsiAfterburnerWrap\ShareMemoryStructs\MACM_SHARED_MEMORY_HEADER.cs" />
  58. <Compile Include="MsiAfterburnerWrap\MsiAfterBurnControlWrap.cs" />
  59. <Compile Include="MsiAfterburnerWrap\ShareMemoryStructs\MACM_SHARED_MEMORY_GPU_ENTRY.cs" />
  60. <Compile Include="MsiAfterburnerWrap\TryingSandBox.cs" />
  61. <Compile Include="Program.cs" />
  62. <Compile Include="Properties\AssemblyInfo.cs" />
  63. </ItemGroup>
  64. <ItemGroup>
  65. <None Include="App.config" />
  66. <None Include="packages.config" />
  67. </ItemGroup>
  68. <ItemGroup />
  69. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  70. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  71. <PropertyGroup>
  72. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  73. </PropertyGroup>
  74. <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'))" />
  75. </Target>
  76. <PropertyGroup>
  77. <PostBuildEvent>if $(ConfigurationName) == Release setlocal enabledelayedexpansion enableextensions
  78. if $(ConfigurationName) == Release set DLL_LIST=
  79. if $(ConfigurationName) == Release for %25%25x in ($(TargetDir)*.dll) do set DLL_LIST=!DLL_LIST! "%25%25x"
  80. if $(ConfigurationName) == Release echo dlls: !DLL_LIST!
  81. if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  82. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)" !DLL_LIST!
  83. if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"</PostBuildEvent>
  84. </PropertyGroup>
  85. </Project>