VS 2008 Exception

Dec 13, 2007 at 5:10 PM
Well, this was also the case in VS 2005. When a zone with a zone name is added inside a cab zone workspace, the visual designer complains and the error thrown is : "Value 'NavigationZone' (or whatever zone you are trying to add) cannot be assigned to property 'ZoneName'. Specified zone does not reside in Zone workspace.'

Despite the error, the project still builds and runs; the designer functionality is gone however; So basically, if a zone workspace is used, the UI will need to be coded by hand. Or is there a workaround? Thanks.
Dec 13, 2007 at 5:58 PM

dataconsult wrote:
Well, this was also the case in VS 2005. When a zone with a zone name is added inside a cab zone workspace, the visual designer complains and the error thrown is : "Value 'NavigationZone' (or whatever zone you are trying to add) cannot be assigned to property 'ZoneName'. Specified zone does not reside in Zone workspace.'

Despite the error, the project still builds and runs; the designer functionality is gone however; So basically, if a zone workspace is used, the UI will need to be coded by hand. Or is there a workaround? Thanks.


Well, this seems to be thrown from the AdopZone(ContentControl zone) method in ZoneWorkspace class. Still trying to figure out why?