Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Nuget package missing file Overlay.cs when using clickableTransparent Overlay with ImGui

$
0
0
System.MissingMethodException: 'Method not found: 'ImGuiNET.RangePtrAccessor`1<ImGuiNET.ImDrawListPtr> ImGuiNET.ImDrawDataPtr.get_CmdListsRange()'.'

This is the error I'm getting and visual studio wants me to locate overlay.cs

using ImGuiNET;using ClickableTransparentOverlay;using System.Numerics;namespace IMGUITEST{    public class Program : Overlay    {        bool checkBoxValue = false;        int loveMeter = 0;        string input = "";        string input2 = "";        protected override void Render()        {            ImGui.Begin("FirstWindow");            ImGui.Text("Hello World!");        }        public static void Main(string[] args)        {            Console.WriteLine("Starting ImGui...");            Program program = new Program();            program.Start().Wait();        }    }}

So I've been trying to create my first ImGui Window but I encounter this weird thing.Up above is the code I am using and I have seen multiple examples of simular things working.The Nuget packages i use are:ClickableTransparentOverlay (This is the package missing overlay.cs)ImGui.NETSixlabors.imagesharpVeldrid.ImGuiVortice.MathematicsAlso running .NET 6 and I've checked so all the packages are compatible with each other and .NET 6I was expecting a simple window to open but it doesnt seem to work.I have tried repairing visual studio and updating it also clearing the nuget cache and everything again in a new project.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>