growbrewproxy icon indicating copy to clipboard operation
growbrewproxy copied to clipboard

Build keeps failing with enet and system attribute errors

Open kih opened this issue 3 years ago • 5 comments

Build starts off failing and shows this image

After reading previous issues I found this https://github.com/playingoDEERUX/growbrewproxy/issues/70#issuecomment-790354004, but doing whats in that reply just returns these errors image

I reinstalled/updated enet using nuget and installed net 5.0, not sure why its erroring still

kih avatar May 29 '21 13:05 kih

Remove the duplicates and try again

actuallydoc avatar May 29 '21 13:05 actuallydoc

Remove the duplicates and try again

Doing that makes System.Management vanish, after readding it, the built .exe runs but it immediately gets an error

image

Reinstalling enet.managed from nuget does nothing

kih avatar May 29 '21 13:05 kih

thats beacuse the enet folder path is expected somewhere else look the exception text and put the folders with binaries where growbrewproxy wants them to be

actuallydoc avatar May 29 '21 14:05 actuallydoc

Just did that, still keeps returning the same error

  ENet.Managed.ENetException: Failed to load ENet dynamic library. (Native last error: 0)
  at ENet.Managed.Internal.ThrowHelper.ThrowENetLibraryLoadFailed(Int32 lastError) in C:\Users\Admin\Desktop\growbrewproxy-master\GrowbrewProxy\ENet.Managed\Internal\ThrowHelper.cs:line 49
  at ENet.Managed.Platforms.Win32Platform.LoadDynamicLibrary(String dllPath) in C:\Users\Admin\Desktop\growbrewproxy-master\GrowbrewProxy\ENet.Managed\Platforms\Win32Platform.cs:line 53
  at ENet.Managed.Native.LibENet.LoadDllFromFile(String path) in C:\Users\Admin\Desktop\growbrewproxy-master\GrowbrewProxy\ENet.Managed\Native\LibENet.cs:line 393
  at ENet.Managed.Native.LibENet.LoadModuleFromFile(String path) in C:\Users\Admin\Desktop\growbrewproxy-master\GrowbrewProxy\ENet.Managed\Native\LibENet.cs:line 330
  at ENet.Managed.Native.LibENet.Load(String dllFile) in C:\Users\Admin\Desktop\growbrewproxy-master\GrowbrewProxy\ENet.Managed\Native\LibENet.cs:line 269
  at ENet.Managed.ManagedENet.Startup(ENetStartupOptions startupOptions) in C:\Users\Admin\Desktop\growbrewproxy-master\GrowbrewProxy\ENet.Managed\ManagedENet.cs:line 105
  at GrowbrewProxy.MainForm.MainForm_Load(Object sender, EventArgs e) in C:\Users\Admin\Desktop\growbrewproxy-master\GrowbrewProxy\MainForm.cs:line 712
  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.ContainerControl.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, WM msg, IntPtr wparam, IntPtr lparam)

kih avatar May 29 '21 14:05 kih

Remove the duplicates and try again

Doing that makes System.Management vanish, after readding it, the built .exe runs but it immediately gets an error

image

Reinstalling enet.managed from nuget does nothing

Put enet.dll in the same directory as "GrowbrewProxy.exe".

Gorkido avatar Oct 21 '22 21:10 Gorkido