Jelajahi Sumber

ILPack automatically for release builds

Nick Babcock 7 tahun lalu
induk
melakukan
97d109acfe
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      OhmGraphite/OhmGraphite.csproj

+ 1 - 1
OhmGraphite/OhmGraphite.csproj

@@ -42,7 +42,7 @@
     <Reference Include="System.Configuration" />
   </ItemGroup>
 
-  <Target Name="ILPack">
+  <Target Name="ILPack" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
     <Exec Command="&quot;$(NuGetPackageRoot)ilrepack\2.0.15\tools\ILRepack.exe&quot; /out:$(OutputPath)OhmGraphite.exe $(OutputPath)OhmGraphite.exe $(OutputPath)Topshelf.dll $(OutputPath)Topshelf.NLog.dll $(OutputPath)NLog.dll $(OutputPath)OpenHardwareMonitorLib.dll" />
   </Target>
 </Project>