2025-10-13 13:06:20 +02:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
<Import Project="..\common.props" />
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
<PropertyGroup>
|
|
|
|
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
|
|
|
|
<IsPackable>False</IsPackable>
|
|
|
|
|
|
</PropertyGroup>
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
|
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.3.2" />
|
|
|
|
|
|
</ItemGroup>
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
<PropertyGroup>
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
<_DllTargetPath>$(MSBuildThisFileDirectory)\..\ElectronNET\build</_DllTargetPath>
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
</PropertyGroup>
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
<Target BeforeTargets="AfterBuild" Name="CopyToBuildFolder">
|
|
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
|
<OutputFiles Include="$(OutDir)**\*.dll"></OutputFiles>
|
|
|
|
|
|
</ItemGroup>
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
<Message Text="Copy ElectronNET.Build.dll to destination: $(_DllTargetPath)" Importance="high"/>
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
<Copy SourceFiles="@(OutputFiles)"
|
|
|
|
|
|
DestinationFolder="$(_DllTargetPath)\%(RecursiveDir)"
|
|
|
|
|
|
OverwriteReadOnlyFiles="true"></Copy>
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
2025-11-15 08:05:31 +01:00
|
|
|
|
</Target>
|
2025-10-13 13:06:20 +02:00
|
|
|
|
|
|
|
|
|
|
</Project>
|