-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The line
H.Vpn/src/libs/H.OpenVpn/OpenVPN.cs
Line 155 in 8721861
| var folder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) ?? string.Empty; |
Steps to reproduce the bug
Just call
HOpenVpn.Start(Config, Username, Password);Expected behavior
OpenVpn connection succesfully
Screenshots
NuGet package version
0.9.27
IDE
Visual Studio 2022
Additional context
Stacktrace:
System.ArgumentException
HResult=0x80070057
Messaggio=Formato del percorso non valido.
Origine=mscorlib
Analisi dello stack:
in System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
in System.IO.Path.InternalGetDirectoryName(String path)
in H.OpenVpn.HOpenVpn.Start(String config, String username, String password) in /_/src/libs/H.OpenVpn/OpenVPN.cs: riga 155
in OpenVPN.Main.GnBtnConnect_Click(Object sender, EventArgs e) in C:\Luca\Progetti\OpenVPN\OpenVPN\Main.cs: riga 840
in System.Windows.Forms.Control.OnClick(EventArgs e)
in Guna.UI2.WinForms.Guna2GradientButton.OnClick(EventArgs e)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
in System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
in System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
in System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
in OpenVPN.Program.Main() in C:\Luca\Progetti\OpenVPN\OpenVPN\Program.cs: riga 55
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
