Skip to content

Commit

Permalink
Copy test image to output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
UrtsiSantsi committed Sep 1, 2023
1 parent 0981cef commit ad01847
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
20 changes: 12 additions & 8 deletions src/Samples/GdkPixbuf-2.0/TestLoading/TestLoading.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\Libs\GdkPixbuf-2.0\GdkPixbuf-2.0.csproj" />
</ItemGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\Libs\GdkPixbuf-2.0\GdkPixbuf-2.0.csproj" />
</ItemGroup>

<Target Name="CopyTestImage" AfterTargets="AfterBuild">
<Copy SourceFiles="test.bmp" DestinationFolder="$(OutDir)" />
</Target>

</Project>
12 changes: 8 additions & 4 deletions src/Samples/GdkPixbuf-2.0/TestMemoryLeaks/TestMemoryLeaks.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\..\..\Libs\GdkPixbuf-2.0\GdkPixbuf-2.0.csproj" />
</ItemGroup>

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\Libs\GdkPixbuf-2.0\GdkPixbuf-2.0.csproj" />
</ItemGroup>

<Target Name="CopyTestImage" AfterTargets="AfterBuild">
<Copy SourceFiles="test.bmp" DestinationFolder="$(OutDir)" />
</Target>

</Project>

0 comments on commit ad01847

Please sign in to comment.