mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Show proper error message if nethost header can't be found
(cherry picked from commit 347fc3ed9f)
This commit is contained in:
@@ -10,9 +10,13 @@
|
|||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
#include <nethost.h>
|
#if __has_include(<nethost.h>)
|
||||||
#include <coreclr_delegates.h>
|
#include <nethost.h>
|
||||||
#include <hostfxr.h>
|
#include <coreclr_delegates.h>
|
||||||
|
#include <hostfxr.h>
|
||||||
|
#else
|
||||||
|
#error "nethost.h not found! This can happen when the .NET SDK was updated after the cmake project was created. Please regenerate the build files."
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <imgui.h>
|
#include <imgui.h>
|
||||||
#include <hex/api/plugin_manager.hpp>
|
#include <hex/api/plugin_manager.hpp>
|
||||||
|
|||||||
Reference in New Issue
Block a user