Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

When I compile the QuickOPCVBNetExamples project, I get an error - BC30661 Field

More
31 Aug 2020 19:26 - 31 Aug 2020 19:27 #8816 by support
The actual cause is labeled as "Warning" by Microsoft :-( - one of those warnings is:
Warning The primary reference "OpcLabs.BaseLib, Version=5.57.125.1, Culture=neutral, PublicKeyToken=6faddca41dacb409, ProcessorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
QuickOPC 2020.1 requires .NET Framework 4.7 as minimum (see the User's Guide for 2020.1, or kb.opclabs.com/Versions ). The projects that ship with QuickOPC 2020. 1 *are* targeted at .NET Framework 4.7. But those you are currently trying to build target 4.6.1 - that means they are not the ones we actually ship.

It looks like that you do not have the necessary targeting pack on your computer, AND when Visual Studio has opened the solution, you have chosen to retarget the projects to 4.6.1. That was a bad choice. You truly need one of the supported .NET Frameworks, you cannot go lower.

Best regards
Last edit: 31 Aug 2020 19:27 by support.

Please Log in or Create an account to join the conversation.

More
31 Aug 2020 15:54 #8811 by micham
Hi,
QuickOPC version 2020.1 build 5.57.125.1.

See all errors below:
Severity Code Description Project File Line Suppression State
Error BC30661 Field or property 'Operations' is not found. UAConsoleLiveMapping F:\Program Files (x86,23)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Boiler.vb 1 N/A
Warning Could not find rule set file "MinimumRecommendedRules.ruleset". UADocExamples
Error BC30661 Field or property 'BrowsePath' is not found. UAConsoleLiveMapping F:\Program Files (x86,13)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Boiler.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.BaseLib.Collections.Generic.Extensions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\Gds\_EasyUAGlobalDiscoveryClient.UnregisterApplication.Main1.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.BaseLib.ComponentModel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\Licensing\_LicensingManagement.RegisterManagedResource.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.BaseLib.ComponentModel.Linking' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\_UAClientMapper\DefineMapping.Main1.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.BaseLib.Console.Interaction' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\Interaction\ConsoleInteraction.ColorizeOutput.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.BaseLib.LiveMapping' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UAConsoleLiveMapping F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Boiler.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.BaseLib.Reflection' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\My Project\AssemblyVersionInfo.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.AddressSpace.Parsing' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\_UANodeId\_Construction.Main1.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.AddressSpace.Parsing.Extensions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\_UANodeId\_Construction.Main1.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.AlarmsAndConditions.Extensions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\AlarmsAndConditions\Acknowledge.Main1.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.DataTypeModel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\ComplexData\_IUADataTypeModelProvider.ResolveDataTypeDescriptorFromDataTypeEncodingId.Main1.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.DataTypeModel.Extensions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\ComplexData\_IUADataTypeModelProvider.ResolveDataTypeDescriptorFromDataTypeEncodingId.Main1.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.LiveMapping' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\_UAClientMapper\DefineMapping.Main1.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.LiveMapping.Extensions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UAConsoleLiveMapping F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Program.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.Navigation' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UAConsoleLiveMapping F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Program.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.OperationModel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UAConsoleLiveMapping F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Program.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.PubSub.Configuration.Extensions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\PubSub\_IUAReadOnlyPubSubConfiguration\GetMethods.PublishedDataSets.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.PubSub.Engine' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\PubSub\PubSubExamplesMenu.vb 1 N/A
Warning BC40056 Namespace or type specified in the Imports 'OpcLabs.EasyOpc.UA.PubSub.Extensions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. UADocExamples F:\Program Files (x86,9)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\PubSub\_EasyUASubscriber\SubscribeDataSet.CaptureFile.vb 1 N/A
Warning The primary reference "OpcLabs.BaseLib, Version=5.57.125.1, Culture=neutral, PublicKeyToken=6faddca41dacb409, ProcessorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". UAConsoleLiveMapping
Warning The primary reference "OpcLabs.BaseLib, Version=5.57.125.1, Culture=neutral, PublicKeyToken=6faddca41dacb409, ProcessorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". UADocExamples
Warning The primary reference "OpcLabs.EasyOpcUA" could not be resolved because it has an indirect dependency on the assembly "OpcLabs.BaseLib, Version=5.57.125.1, Culture=neutral, PublicKeyToken=6faddca41dacb409" which was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". UADocExamples
Warning The primary reference "OpcLabs.EasyOpcUA" could not be resolved because it was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". UADocExamples
Warning The primary reference "OpcLabs.EasyOpcUA, Version=5.57.125.1, Culture=neutral, PublicKeyToken=6faddca41dacb409, ProcessorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "OpcLabs.BaseLib, Version=5.57.125.1, Culture=neutral, PublicKeyToken=6faddca41dacb409" which was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". UAConsoleLiveMapping
Warning The primary reference "OpcLabs.EasyOpcUA, Version=5.57.125.1, Culture=neutral, PublicKeyToken=6faddca41dacb409, ProcessorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". UAConsoleLiveMapping
Warning The primary reference "OpcLabs.Pcap" could not be resolved because it has an indirect dependency on the assembly "OpcLabs.BaseLib, Version=5.57.125.1, Culture=neutral, PublicKeyToken=6faddca41dacb409" which was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". UADocExamples
Warning The primary reference "OpcLabs.Pcap" could not be resolved because it was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". UADocExamples
Error BC30002 Type 'AssemblyBranch' is not defined. UADocExamples F:\Program Files (x86,12)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\My Project\AssemblyVersionInfo.vb 1 N/A
Error BC30002 Type 'DataType' is not defined. UADocExamples F:\Program Files (x86,55)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\ComplexData\_DataType.Kind.Main1.vb 1 N/A
Error BC30002 Type 'EasyUAResolverAccessEventArgs' is not defined. UADocExamples F:\Program Files (x86,105)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\PubSub\_EasyUASubscriber\SubscribeDataSet.ResolveFromFile.vb 1 N/A
Error BC30002 Type 'GenericData' is not defined. UADocExamples F:\Program Files (x86,67)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UADocExamples\ComplexData\_GenericData.DataTypeKind1.Main1.vb 1 N/A
Error BC30002 Type 'MetaMember' is not defined. UAConsoleLiveMapping F:\Program Files (x86,6)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Boiler.vb 1 N/A
Error BC30002 Type 'UAData' is not defined. UAConsoleLiveMapping F:\Program Files (x86,16)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Boiler.vb 1 N/A
Error BC30002 Type 'UANamespace' is not defined. UAConsoleLiveMapping F:\Program Files (x86,2)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Boiler.vb 1 N/A
Error BC30002 Type 'UANode' is not defined. UAConsoleLiveMapping F:\Program Files (x86,6)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Boiler.vb 1 N/A
Error BC30002 Type 'UANodeDescriptor' is not defined. UAConsoleLiveMapping F:\Program Files (x86,39)\OPC Labs QuickOPC 2020.1\Examples-NET\VBNET\VS2017\Console\UAConsoleLiveMapping\Boiler.vb 1 N/A


Thanks.

Michael

Please Log in or Create an account to join the conversation.

More
31 Aug 2020 07:33 #8807 by support
Hello,
cannot reproduce it.

Which QuickOPC version is it with?
Please copy here the error message from the VS Output Window (which has the file name and line number).

Is this the only error, or are there more?

Best regards

Please Log in or Create an account to join the conversation.

More
31 Aug 2020 07:08 #8806 by micham
When I compile the QuickOPCVBNetExamples project, I get an error - BC30661 Field or property 'BrowsePath' is not found.

Any idea why?

Thank you.

Michael

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.057 seconds