Skip to content

Commit

Permalink
Merge pull request #935 from UrtsiSantsi/fix-929
Browse files Browse the repository at this point in the history
 Copy test image to output folder
  • Loading branch information
badcel authored Sep 1, 2023
2 parents 19985b4 + ad01847 commit 85a91e3
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 85a91e3

Please sign in to comment.