After opening UA Sample Applications.sln (VS 2013 Community Edition, Windows 7 x64), I see a variety of Samples. I can compile and build them (for example, the UA Sample Client, which is what I'm interested in).
Yet, when trying to open SampleClientForm.cs to examine how the client connects, I get an error (see below). I can open up the MainForm.cs for UA Network Tester, and a few other forms, but not this one. I can open up the ClientForm.cs from UA Sample Controls.
Excuse my flagging of this here. There is a tutorial on how to build your own client project here:
but it refers to VS .NET 2008, so I wonder if the documentation has been kept up to date.
Thanks. My goal is to insert an OPC UA Client into an existing piece of code to talk to a PLC to read and set a few registers, so I'm looking for a minimal set of tools to do the job.
Don't know if this is the correct location to post such a problem, but it is the only place I see for this topic.
Error is as follows:
The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: SampleClientForm --- The base class 'System.Object' cannot be designed.
Instances of this error (1)
Hide Call Stack
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
After opening UA Sample Applications.sln (VS 2013 Community Edition, Windows 7 x64), I see a variety of Samples. I can compile and build them (for example, the UA Sample Client, which is what I'm interested in).
Yet, when trying to open SampleClientForm.cs to examine how the client connects, I get an error (see below). I can open up the MainForm.cs for UA Network Tester, and a few other forms, but not this one. I can open up the ClientForm.cs from UA Sample Controls.
Excuse my flagging of this here. There is a tutorial on how to build your own client project here:
http://opcfoundation.github.io/UA-.NET/help/index.htm#client_development.htm
but it refers to VS .NET 2008, so I wonder if the documentation has been kept up to date.
Thanks. My goal is to insert an OPC UA Client into an existing piece of code to talk to a PLC to read and set a few registers, so I'm looking for a minimal set of tools to do the job.
Don't know if this is the correct location to post such a problem, but it is the only place I see for this topic.
Error is as follows:
The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: SampleClientForm --- The base class 'System.Object' cannot be designed.
Instances of this error (1)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager) at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)