Wrox Programmer Forums
BOOK: Windows Phone 7 Application Development: 24 Hour Trainer
This is the forum to discuss the Wrox book Windows Phone 7 Application Development: 24 Hour Trainer by Brian Faucher ; ISBN: 978-0-470-93907-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Windows Phone 7 Application Development: 24 Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 17th, 2011, 02:35 PM
Registered User
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Error following directions on page 81.

For lesson 10, page 81 step 10. I get the following error...

A value of type 'MultiTouchManipulationBehavior' cannot be added to a collection or dictionary of type 'BehaviorCollection'.

I thought I typed it in wrong at first, so I downloaded the code from this web site and I still get the error.

Anyone have any ideas of what I am doing wrong? I have been an ASP.net developer since 2002, but I am new to XAML.

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
  <Image Height="272" HorizontalAlignment="Left" Margin="40,48,0,0"
             Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="350" 
             Source="/HelloWindowsPhoneLesson10;component/Images/Dog-pug.jpg" >
        <mt:MultiTouchManipulationBehavior IsInertiaEnabled="True"
              IsRotateEnabled="True" IsTranslateEnabled="False"
              IsScaleEnabled="True" MinimumScaleRadius="60" 
Old January 30th, 2012, 06:14 PM
Registered User
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Error following directions on page 81.

After downloading the code from Wrox website, you may need to unblock the .dlls within any given lesson in order to access them within a solution. For Lesson 10, you will need to unblock the following .dlls:
  • MultiTouch.Behaviors.Silverlight.WP7.dll
  • System.Windows.Input.Manipulations.dll
  • System.Windows.Interactivity.dll

These will be located within the Bin\WP7 (and in the Bin\Debug if you have already tried to build the solution.)

Here is a link that describes how to unblock .dlls downloaded from the Internet:


Brian Faucher

Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused between onSaveInstanceState and onPause on page 81 and 82 fungi8210 BOOK: Professional Android 2 Application Development 1 March 9th, 2010 09:26 AM
Professional Java Security , ISBN 81-7366-293-2, p jaskaran Wrox Book Feedback 4 April 21st, 2006 08:21 AM
Example code for EJB(ISBN:81-7366-351-3) akb_das Wrox Book Feedback 3 August 27th, 2004 03:49 PM
isbn 81-7366, how to run rmi pgm sivapmk J2EE 1 December 10th, 2003 09:28 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.