diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 13adf83..8629ec3 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -102,7 +102,7 @@
"command": "MoonWorksDearImGuiScaffold.exe"
},
"options": {
- "cwd": "${workspaceFolder}/bin/Debug/net8.0"
+ "cwd": "${workspaceFolder}/bin/Release/net8.0"
},
"type": "process",
"group": {
diff --git a/lib/ImGui.NET/ImGui.NET.csproj b/lib/ImGui.NET/ImGui.NET.csproj
index a4ff2a1..356af23 100644
--- a/lib/ImGui.NET/ImGui.NET.csproj
+++ b/lib/ImGui.NET/ImGui.NET.csproj
@@ -3,23 +3,15 @@
A .NET wrapper for the Dear ImGui library.
1.90.0.1
Eric Mellino
- netstandard2.0;net6.0
+ net8.0
true
portable
ImGui.NET
ImGui.NET
-
- $(AssemblyVersion)$(PackagePrereleaseIdentifier)
ImGui ImGui.NET Immediate Mode GUI
https://github.com/mellinoe/imgui.net
- $(OutputPath)\ImGui.NET.xml
ImGuiNET
-
-
-
-
-
<_Parameter1>ImPlot.NET
@@ -28,32 +20,6 @@
<_Parameter1>ImNodes.NET
-
-
- runtimes/win-x86/native
- true
-
-
- runtimes/win-x64/native
- true
-
-
- runtimes/win-arm64/native
- true
-
-
- runtimes/linux-x64/native/libcimgui.so
- true
-
-
- runtimes/osx/native/libcimgui.dylib
- true
-
-
- build/net40/ImGui.NET.targets
- true
-
-
diff --git a/src/Program.cs b/src/Program.cs
index 1707335..d49cbe5 100644
--- a/src/Program.cs
+++ b/src/Program.cs
@@ -22,10 +22,16 @@ class Program
Cap = 60
};
+ var debugMode = false;
+
+ #if DEBUG
+ debugMode = true;
+ #endif
+
MoonWorksDearImGuiScaffoldGame game = new MoonWorksDearImGuiScaffoldGame(
windowCreateInfo,
frameLimiterSettings,
- true
+ debugMode
);
game.Run();