![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Entering break mode failed for the following reason: Source File XXX does not belong to the project being debugged Hi, We get this error when we start our application and it seems like it is the resource dictionary tag causing it and the application refuses to start. If we remove the tag the our application starts. The error turned up when we moved the project form one computer to another. We have tried ->Clean->Rebuild solution but with no result. We have tried to create a brand new project but the error still accours. Here is a snippet how our application is constructed and and some code. In the file app.xaml we have the following stuff. * In the project solution we have folder with the name 'Shells' containing the 3 xaml files. * File : app.xaml <Application x:Class="MyGUI.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="Window1.xaml" > <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Folder\file1.xaml" /> <ResourceDictionary Source="Folder\file2.xaml" /> <ResourceDictionary Source="Folder\file3.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> <!-- **** Button template 1 **** --> <ControlTemplate x:Key="ButtonControlTemplate1" TargetType="{x:Type Button}"> ........... </Application.Resources> </Application> All this stuff worked with out any problem in the previus versions of WinFX. We now have updated all components to the latest versions. / Ken |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Slipstreaming -> Error when entering audit mode | Windows Updates | |||
| Search text file and list computers which belong under same headin | VB Script | |||
| Entering Safe Mode | Vista General | |||
| add web project to source control issue | .NET General | |||
| Problems Entering Sleep Mode! | Vista hardware & devices | |||