Skip navigation
750 Views 2 Replies Last post: Feb 8, 2010 9:45 AM by Richard Braman RSS
Richard Braman Contributor 21 posts since
Feb 4, 2010
Currently Being Moderated

Feb 6, 2010 7:47 AM

OpenVistaCIS.Test Compile Error - Missing Reference

I am trying to build CIS on monodevel 2 (ubuntu-jaunty). 99% there, but I am running into a nagging reference error.  What am i missing?  I know there is a method verifyallexeptions that it is complaining about but i am not sure why.  The method is there when i look at the code the intellisense shows it.  My Nunit isv 2.4.7.0

 

 

 

Building: OpenVistaCIS.Test (Debug)
Performing main compilation...
/usr/bin/gmcs "/out:/home/openvista/Desktop/openvistacis-0.9.96/build/output/tests/OpenVistaCIS.Test.dll" "-pkg:nunit-2.4" "/r:/home/openvista/Desktop/openvistacis-0.9.96/ext/Mono.Addins/Mono.Addins.dll" "/r:/home/openvista/Desktop/openvistacis-0.9.96/ext/Rhino.Mocks/Rhino.Mocks.dll" "/r:/home/openvista/Desktop/openvistacis-0.9.96/ext/StructureMap/StructureMap.dll" "/r:/home/openvista/Desktop/openvistacis-0.9.96/ext/StructureMap/StructureMap.AutoMocking.dll" "/r:/home/openvista/Desktop/openvistacis-0.9.96/build/output/tests/Medsphere.OpenVista.Core.dll" "/r:/home/openvista/Desktop/openvistacis-0.9.96/build/output/tests/Medsphere.OpenVista.Remoting.dll" "/r:/home/openvista/Desktop/openvistacis-0.9.96/build/output/tests/Medsphere.OpenVista.Shared.dll" "/r:/home/openvista/Desktop/openvistacis-0.9.96/build/output/tests/Medsphere.OpenVista.Shared.UI.dll" "/r:/home/openvista/Desktop/openvistacis-0.9.96/build/output/tests/Medsphere.OpenVista.CIS.Shared.dll" "/r:/home/openvista/Desktop/openvistacis-0.9.96/build/output/tests/OpenVistaCIS.exe" "/r:System.Xml.dll" "/r:System.Web.Services.dll" "/r:System.dll" /noconfig /nologo /warn:4 /debug:+ /debug:full /optimize+ /codepage:utf8 /t:library "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DocumentAdditionalSignersSelectorRulesTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/ImagingOrderModifiersSelectorRulesTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/LabWorksheetSelectorRulesTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/SelectorPresenterTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/TubeFeedingOrderSelectorRulesTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/VitalInputBloodPressureValidatorTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/VitalInputPainValidatorTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/VitalInputPresenterTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/VitalInputRangeValidatorTest.cs" "/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/VitalInputRuleTest.cs"
Compilation failed: 14 error(s), 0 warnings

 

/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(60,36): error CS1061: Type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(61,35): error CS1061: Type `Medsphere.OpenVista.CIS.ISelectorDestinationView' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.ISelectorDestinationView' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(84,33): error CS1061: Type `Medsphere.OpenVista.Shared.UI.IMessageService' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.Shared.UI.IMessageService' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(85,36): error CS1061: Type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(119,33): error CS1061: Type `Medsphere.OpenVista.Shared.UI.IMessageService' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.Shared.UI.IMessageService' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(120,36): error CS1061: Type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(160,33): error CS1061: Type `Medsphere.OpenVista.Shared.UI.IMessageService' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.Shared.UI.IMessageService' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(161,36): error CS1061: Type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(201,33): error CS1061: Type `Medsphere.OpenVista.Shared.UI.IMessageService' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.Shared.UI.IMessageService' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(202,36): error CS1061: Type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(237,36): error CS1061: Type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.ISelectorDestinationModel' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(238,30): error CS1061: Type `Medsphere.OpenVista.CIS.IDietOrderSelectorView' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.IDietOrderSelectorView' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(269,30): error CS1061: Type `Medsphere.OpenVista.CIS.IDietOrderSelectorView' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.IDietOrderSelectorView' could be found (are you missing a using directive or an assembly reference?)
/home/openvista/Desktop/openvistacis-0.9.96/src/OpenVistaCIS.Test/DietOrderSelectorRulesTest.cs(294,30): error CS1061: Type `Medsphere.OpenVista.CIS.IDietOrderSelectorView' does not contain a definition for `VerifyAllExpectations' and no extension method `VerifyAllExpectations' of type `Medsphere.OpenVista.CIS.IDietOrderSelectorView' could be found (are you missing a using directive or an assembly reference?)

Pete Johanson Medspherian 48 posts since
Aug 6, 2008
Currently Being Moderated
1. Feb 8, 2010 8:22 AM in response to: Richard Braman
Re: OpenVistaCIS.Test Compile Error - Missing Reference

It seems MonoDevelop is not properly picking up the reference to System.Core from our automatically generated project files.

 

Which build files are you using? Probably your best bet is to use the OpenVista2k8.sln solution file to load and build CIS in MonoDevelop at this point. If that doesn't work, try manually adding a reference to System.Core to the OpenVistaCIS.Test project, and see if that helps. (The reason this is necessary is VerifyAllExpectations is an extension method, and extension methods only work if you have a reference to System.Core.dll)

 

-pete

More Like This

  • Retrieving data ...

Bookmarked By (0)