Hi,
Thank you for your answer. I did a "Clean" on the DEBUG configuration and now these DLLs are not shown in the DEBUG folder.
The Build succeeds but when I run the project in DEBUG I get this exception:
System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'UCMECFG.OPC_UA' threw an exception.
Source=UCMECFG
StackTrace:
at UCMECFG.Module1.Load_OPCUA_Servers() in D:\MyBin\Proj-VS2017\UCME-OPC\Version 2024.0\UCME_CFG_NET\UCMECFG\UCMECFG\Module1.vb:line 7497
at UCMECFG.Form1.Form1_Load(Object sender, EventArgs e) in D:\MyBin\Proj-VS2017\UCME-OPC\Version 2024.0\UCME_CFG_NET\UCMECFG\UCMECFG\Form1.vb:line 157
at System.EventHandler.Invoke(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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Inner Exception 1:
FileNotFoundException: Could not load file or assembly 'Opc.Ua.Core, Version=1.4.372.0, Culture=neutral, PublicKeyToken=bfa7a73c5cf4b6e8' or one of its dependencies. The system cannot find the file specified.
Any idea what am I doing wrong? The NuGet version is 5.80.192.
Thank you.
Michael