c# - Error 26 ambiguous reference VS2012 -


error 26 'productfact' ambiguous reference between 'adcheck.servicereference1.productfact' , 'sladcheckbusinnesobjects.facts.productfact' d:\factory\factory code\bmi\adcheck\adcheck\controls\contents\captureproductvolumesperpack.xaml.cs ‌​41 62 adcheck

using sladcheckbusinnesobjects.products; using sladcheckbusinnesobjects.facts;   namespace adcheck.controls.contents {     public partial class captureproductvolumesperpack : securityenabledpage     {                    private list<productfact> newproductfacts = new list<productfact>();          public captureproductvolumesperpack()         {             initializecomponent();             innerlayoutrootheader.ishittestvisible = false;               page p = application.current.rootvisual page;                       if(p != null)  // p page usercontrol.                     {                      }  

productfact ambiguous, need qualify either sladcheckbusinnesobjects.facts.productfact or adcheck.servicereference1.productfact

for example:

 private list<sladcheckbusinnesobjects.facts.productfact> newproductfacts = new list<sladcheckbusinnesobjects.facts.productfact>(); 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -