Explorar o código

ILPack automatically for release builds

Nick Babcock %!s(int64=7) %!d(string=hai) anos
pai
achega
97d109acfe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>