소스 검색

ILPack automatically for release builds

Nick Babcock 7 년 전
부모
커밋
97d109acfe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>