qRules with Custom Code in InfoPath 2013 - InfoPath Dev
in

InfoPath Dev

qRules with Custom Code in InfoPath 2013

Last post 05-15-2013 06:10 AM by pfiggatt. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 05-14-2013 12:26 PM

    qRules with Custom Code in InfoPath 2013

     Are there new steps to follow to add qRules to an InfoPath 2013 form that already has custom code? I've attempted to use the instructions that were provided with InfoPath 2010, but tend to run into errors when trying to build the code.

  • 05-14-2013 12:32 PM In reply to

    Re: qRules with Custom Code in InfoPath 2013

     This is in my to do list - what are the errors you are having currently?

     

    Hilary Stoupa

  • 05-14-2013 01:17 PM In reply to

    Re: qRules with Custom Code in InfoPath 2013

    Error 1 'qRulesMain' is not declared. It may be inaccessible due to its protection level. C:\Users\figgatp\AppData\Local\Temp\Vsta\InfoPath\Vstasdlbz0EZfkOEH8WnJDmNWA\VstanB2DqX6T6UuINhIC__YYyUQ\FormCode.vb 1895 13 TimeOffRequest
    Error 2 'qRulesMain' is not declared. It may be inaccessible due to its protection level. C:\Users\figgatp\AppData\Local\Temp\Vsta\InfoPath\Vstasdlbz0EZfkOEH8WnJDmNWA\VstanB2DqX6T6UuINhIC__YYyUQ\FormCode.vb 2018 13 TimeOffRequest
    Warning 3 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 4 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 5 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 6 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 7 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 8 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Workflow.Activities, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Workflow.Activities, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 9 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 10 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Workflow.ComponentModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Workflow.ComponentModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 11 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 12 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 13 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 14 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 15 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.DirectoryServices.AccountManagement, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.DirectoryServices.AccountManagement, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 16 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.IdentityModel.Selectors, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.IdentityModel.Selectors, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 17 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 18 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 19 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 20 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Data.Services.Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Data.Services.Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 21 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Data.Services.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Data.Services.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 22 The primary reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Qdabra.Tools.RulesLibrary, Version=4.3.4738.26424, Culture=neutral, PublicKeyToken=8cb7243961aa4b82, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 1578 5 TimeOffRequest
    Warning 23 Namespace or type specified in the Imports 'Qdabra.Tools.RulesLibrary' 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. C:\Users\figgatp\AppData\Local\Temp\Vsta\InfoPath\Vstasdlbz0EZfkOEH8WnJDmNWA\VstanB2DqX6T6UuINhIC__YYyUQ\FormCode.vb 5 9 TimeOffRequest

     


     

  • 05-14-2013 02:07 PM In reply to

    Re: qRules with Custom Code in InfoPath 2013

     Under the project properties in Visual Studio, can you change the target framework to 3.5?

    Hilary Stoupa

  • 05-15-2013 06:10 AM In reply to

    Re: qRules with Custom Code in InfoPath 2013

     I changed the target framework and still get the same build errors.

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.