1
0
Nick Babcock 3 долоо хоног өмнө
parent
commit
c7d339696a

+ 1 - 1
OhmGraphite/OhmGraphite.csproj

@@ -47,7 +47,7 @@
     <PackageReference Include="InfluxDB.LineProtocol" Version="1.1.1" />
   </ItemGroup>
 
-  <Target Name="ZipOutputPath" AfterTargets="Publish">
+  <Target Name="ZipOutputPath" AfterTargets="Publish" Condition="'$(SelfContained)' == 'true'">
     <RemoveDir Directories="$(BaseOutputPath)tmp\" ContinueOnError="true" />
     <MakeDir Directories="$(BaseOutputPath)tmp\" />
     <Copy SourceFiles="$(OutputPath)\publish\OhmGraphite.exe" DestinationFolder="$(BaseOutputPath)tmp\" />