|
@@ -46,6 +46,6 @@
|
|
<Target Name="ILPack" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
|
|
<Target Name="ILPack" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
|
|
<Exec Command=""$(NuGetPackageRoot)ilrepack\2.0.15\tools\ILRepack.exe" /lib:$(OutputPath) /out:$(BaseOutputPath)OhmGraphite.exe $(OutputPath)OhmGraphite.exe $(OutputPath)Topshelf.dll $(OutputPath)Topshelf.NLog.dll $(OutputPath)NLog.dll $(OutputPath)OpenHardwareMonitorLib.dll $(OutputPath)InfluxDB.LineProtocol.dll $(OutputPath)HidLibrary.dll $(OutputPath)protobuf-net.dll $(OutputPath)Prometheus.NetStandard.dll" />
|
|
<Exec Command=""$(NuGetPackageRoot)ilrepack\2.0.15\tools\ILRepack.exe" /lib:$(OutputPath) /out:$(BaseOutputPath)OhmGraphite.exe $(OutputPath)OhmGraphite.exe $(OutputPath)Topshelf.dll $(OutputPath)Topshelf.NLog.dll $(OutputPath)NLog.dll $(OutputPath)OpenHardwareMonitorLib.dll $(OutputPath)InfluxDB.LineProtocol.dll $(OutputPath)HidLibrary.dll $(OutputPath)protobuf-net.dll $(OutputPath)Prometheus.NetStandard.dll" />
|
|
<Copy SourceFiles="$(OutputPath)NLog.config;$(OutputPath)Npgsql.dll;$(OutputPath)System.Runtime.CompilerServices.Unsafe.dll;$(OutputPath)System.Threading.Tasks.Extensions.dll" DestinationFolder="$(BaseOutputPath)" />
|
|
<Copy SourceFiles="$(OutputPath)NLog.config;$(OutputPath)Npgsql.dll;$(OutputPath)System.Runtime.CompilerServices.Unsafe.dll;$(OutputPath)System.Threading.Tasks.Extensions.dll" DestinationFolder="$(BaseOutputPath)" />
|
|
- <Zip Files="$(BaseOutputPath)OhmGraphite.exe;$(BaseOutputPath)OhmGraphite.exe.config;$(BaseOutputPath)NLog.config" WorkingDirectory="$(BaseOutputPath)" ZipFileName="$(BaseOutputPath)OhmGraphite-$(Major).$(Minor).$(Revision).zip" />
|
|
|
|
|
|
+ <Zip Files="$(BaseOutputPath)OhmGraphite.exe;$(BaseOutputPath)OhmGraphite.exe.config;$(BaseOutputPath)NLog.config;$(BaseOutputPath)Npgsql.dll;$(BaseOutputPath)System.Runtime.CompilerServices.Unsafe.dll;$(BaseOutputPath)System.Threading.Tasks.Extensions.dll" WorkingDirectory="$(BaseOutputPath)" ZipFileName="$(BaseOutputPath)OhmGraphite-$(Major).$(Minor).$(Revision).zip" />
|
|
</Target>
|
|
</Target>
|
|
</Project>
|
|
</Project>
|