Open Shadowblitz16 opened 5 years ago
Is Xwt.Gtk.dll local copied to the output directory of the startup project?
no i don't think so. I basically just used nuget and assumed it set it up for me.
I would have to create a test project since I removed the asset from my project. I will get back to you.
You also need to reference Xwt.Gtk, not just Xwt - doesn't seem to be loaded in the appdomain on startup.
now I get
System.Exception
HResult=0x80131500
Message=Toolkit could not be loaded
Source=Xwt
StackTrace:
at Xwt.Toolkit.LoadBackend(String type, Boolean isGuest, Boolean throwIfFails)
at Xwt.Toolkit.Load(String fullTypeName, Boolean isGuest)
at Xwt.Application.Initialize(String backendType)
at Xwt.Application.Initialize(ToolkitType type)
at XwtTest.Program.Main(String[] args) in C:\Users\Shadowblitz16\source\repos\XwtTest\XwtTest\Program.cs:line 12
Inner Exception 1:
FileNotFoundException: Could not load file or assembly 'gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies. The system cannot find the file specified.
I installed the nuget package for Xwt.Gtk and I made sure it's copy local
property was set to true
That means gtk# is not installed on the system. See the link I posted above for the gtk# installer
you should make this use dependencies in the nuget package installer so it does all this when you add it to the project
EDIT: ok I installed gtk# from the mono page. but it didn't change anything
@Therzok I have both Xwt.Gtk and Xwt as references in the project and its still not working. I don't see where you posted a link. if you mean the Xwt.Gtk thats where I got my Xwt.Gtk reference from.
I just realized I do have gtk# installed in my system. if it's outdated then there are no windows binary releases for it.
EDIT: nope it sends me to the same page on the mono website
so here is a rundown I have Xwt referenced in my project I have Xwt.Gtk referenced in my project I have Mono 32 bit and Gtk# installed on my system
what could be the problem?
@Shadowblitz16 , did you find a solution to the issue?
nope I just stopped using the library because I couldn't get any help with it. I would be willing to try again though if someone is willing to help me fix it
should be .net framework 4.7.2
I can't get this to run. I keep getting a Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll error and then visual studio freezes.