This question is locked. New answers and comments are not allowed.
Hi,
I am getting this error when trying the CarRentalWeb sample application.
Error 2 'CarRentalWeb.CarRentalMaster' does not contain a definition for 'Scope' and no extension method 'Scope' accepting a first argument of type 'CarRentalWeb.CarRentalMaster' could be found (are you missing a using directive or an assembly reference?) C:\Source\SofiaRentalCar\CarRentalWeb\AdvancedSearch.aspx.cs 20 39 CarRentalWeb
it's complaining about the second line that I copied and pasted from the tutorial page.
Please advise.
TIA.
Henry
I am getting this error when trying the CarRentalWeb sample application.
Error 2 'CarRentalWeb.CarRentalMaster' does not contain a definition for 'Scope' and no extension method 'Scope' accepting a first argument of type 'CarRentalWeb.CarRentalMaster' could be found (are you missing a using directive or an assembly reference?) C:\Source\SofiaRentalCar\CarRentalWeb\AdvancedSearch.aspx.cs 20 39 CarRentalWeb
scopeHolder = (
CarRentalMaster)this.Master;
cashedScope = scopeHolder.Scope;
it's complaining about the second line that I copied and pasted from the tutorial page.
Please advise.
TIA.
Henry