Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open SampleClientForm.cs in UA Sample Client #151

Open
openclipboard opened this issue Oct 13, 2017 · 1 comment
Open

Unable to open SampleClientForm.cs in UA Sample Client #151

openclipboard opened this issue Oct 13, 2017 · 1 comment

Comments

@openclipboard
Copy link

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)

  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)

@hiuray
Copy link

hiuray commented Jun 29, 2023

Hello my friend, I am facing the same problem. Did you find a solution for this? I'd be happy to see the solution if you did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants