Skip to content

Commit 190af3a

Browse files
committed
fix copy on linux
1 parent 8b29134 commit 190af3a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

LibNoDaveConnectionLibrary.WinForms/DotNetSiemensPLCToolBoxLibrary.WinForms.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetFrameworks>net6.0-windows;net461</TargetFrameworks>
66
<UseWindowsForms>true</UseWindowsForms>
77
<EnableWindowsTargeting>true</EnableWindowsTargeting>
8+
<GenerateResourceUsePreserializedResources>false</GenerateResourceUsePreserializedResources>
89
</PropertyGroup>
910
<PropertyGroup>
1011
<PackageId>DotNetProjects.DotNetSiemensPLCToolBoxLibrary.WinForms</PackageId>

TiaImporter/TiaImporter.csproj

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
<ItemGroup>
1010
<ProjectReference Include="..\LibNoDaveConnectionLibrary\DotNetSiemensPLCToolBoxLibrary.csproj" />
1111
</ItemGroup>
12-
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
13-
<Exec Command="copy ..\DotNetSiemensPLCToolBoxLibrary.TIAV15_1\bin\Debug\net461\DotNetSiemensPLCToolBoxLibrary.TIAV*.* .\bin\Debug\net48" />
14-
<Exec Command="copy ..\DotNetSiemensPLCToolBoxLibrary.TIAV16\bin\Debug\net461\DotNetSiemensPLCToolBoxLibrary.TIAV*.* .\bin\Debug\net48" />
15-
<Exec Command="copy ..\DotNetSiemensPLCToolBoxLibrary.TIAV17\bin\Debug\net48\DotNetSiemensPLCToolBoxLibrary.TIAV*.* .\bin\Debug\net48" />
16-
<Exec Command="copy ..\DotNetSiemensPLCToolBoxLibrary.TIAV18\bin\Debug\net48\DotNetSiemensPLCToolBoxLibrary.TIAV*.* .\bin\Debug\net48" />
17-
<Exec Command="copy ..\DotNetSiemensPLCToolBoxLibrary.TIAV19\bin\Debug\net48\DotNetSiemensPLCToolBoxLibrary.TIAV*.* .\bin\Debug\net48" />
12+
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
13+
<ItemGroup>
14+
<MySourceFiles Include="../DotNetSiemensPLCToolBoxLibrary.TIA*/bin/Debug/net*/DotNetSiemensPLCToolBoxLibrary.TIAV*.*"/>
15+
</ItemGroup>
16+
<Copy SourceFiles="@(MySourceFiles)" DestinationFolder="./bin/Debug/net48"></Copy>
1817
</Target>
1918
</Project>

0 commit comments

Comments
 (0)