From 3bebaa7b8a79e11d8c011b3be913601f77721ee1 Mon Sep 17 00:00:00 2001 From: copygirl Date: Fri, 30 Dec 2022 18:57:57 +0100 Subject: [PATCH] Change Content to ContentWithTargetPath This appears to be necessary to have library files included in output directory of a project that has ImGui.NET as a project reference, instead of as a Nuget package reference. --- src/ImGui.NET/ImGui.NET.csproj | 36 ++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/src/ImGui.NET/ImGui.NET.csproj b/src/ImGui.NET/ImGui.NET.csproj index a6d12fe..736d82b 100644 --- a/src/ImGui.NET/ImGui.NET.csproj +++ b/src/ImGui.NET/ImGui.NET.csproj @@ -1,4 +1,4 @@ - + A .NET wrapper for the Dear ImGui library. 1.88.0 @@ -29,26 +29,36 @@ - - runtimes/win-x86/native + + PreserveNewest + runtimes/win-x86/native/cimgui.dll + runtimes/win-x86/native/cimgui.dll true - - - runtimes/win-x64/native + + + PreserveNewest + runtimes/win-x64/native/cimgui.dll + runtimes/win-x64/native/cimgui.dll true - - + + + PreserveNewest + runtimes/linux-x64/native/libcimgui.so runtimes/linux-x64/native/libcimgui.so true - - + + + PreserveNewest + runtimes/osx/native/libcimgui.dylib runtimes/osx/native/libcimgui.dylib true - - + + + PreserveNewest + build/net40/ImGui.NET.targets build/net40/ImGui.NET.targets true - +