1. creat a new project , uncheck hosting during create project;
2. then select project properties in menu bar, project->xxx properties...;
3. click silverlight tab, checked 'enable running application out of browser', afterward, to click ' out of browser setting' button
4. in that dialog, check 'reauire elevated trust while runnung outside the browser'
MSDN link:http://msdn.microsoft.com/en-us/library/dd550721(VS.95).aspx