-
Notifications
You must be signed in to change notification settings - Fork 19
Project Setup
At the moment, the package is best downloaded directly and then manually configured as below.
Create a new Monogame Windows Desktop Application. Mine is called ImGuiTest:
Download the MonoGame.ImGuiNet project by selecting the <> Code ▼ button in GitHub and then download the project as a zip file:
You can technically unzip this anywhere you like, but we’d strongly recommend doing it in your solution folder, like this:
With the unzipped project inside your test project, right click on the Solution and select Add -> Existing Project…
And then find and select the .csproj file in the MonoGame.ImgGuiNet project:
Your Solution Explorer shoud show now show both your main game project and the Monogame.ImGuiNet project as follows:
Now add a project reference to your main game project by right-clicking your game project and then selecting Add -> Project Reference:
Finally select the checkbox that should appear in the entry for MonoGame.ImgGuiNet:
At last we’re [ready to code]!