Having problems getting my code to run on non dev machines.
All machines are win 10 and my code targets .Net 4.6 which is supposed to ship with it.
On one machine I had a problem where an exception to do with System.Data.SQLite was thrown and on another I had the following...
System.NullReferenceException: Object reference not set to an instance of an object.
at RegEditor.ObjectBase.RetrieveFromRegistry(NPCheckBox npc)
at RegEditor.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
And I just cannot figure it out, all the at at at, are they all exceptions?
The code will run from anywhere on dev machine, but nowhere outside of it.
Any help much appreciated, and thank you for looking.