Error message: The type ‘GoogleMapProject_Behaviors:ZoomBehavior’ was not found. Verify that you are not missing an assembly reference and that all reference assemblies have been built.
Here is the code:
<i:Interaction.Behaviors> <GoogleMapProject_Behaviors:ZoomBehavior/> <GoogleMapProject_Behaviors:PanBehavior RightHandPosition="{Binding RightHandPosition, Mode=TwoWay}" LeftHandPosition="{Binding LeftHandPosition, Mode=TwoWay}" IsPanning="{Binding IsPanning, Mode=TwoWay}"> </GoogleMapProject_Behaviors:PanBehavior> </i:Interaction.Behaviors>
This means that your namespace, which is mapped in your XAML as
GoogleMapProject_Behaviorsdoes not contain a classZoomBehavior.GoogleMapProject_Behaviorsrefer to the correct namespace?ZoomBehavior: Is the namespace definedcorrespondingly, Is the class Public, does it have a default
constructor?
The fact that VS complains about the class indicates that the namespace can be resolved, so that should do it.