![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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 |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| add web project to source control issue | eliassal | .NET General | 0 | 1 Week Ago 07:28 AM |
| Wireless association failed due to an unknown reason | IanMacGillivray | Vista networking & sharing | 3 | 09-23-2007 07:27 PM |
| Problems Entering Sleep Mode! | BOOTMGR.EXE_FAILED | Vista hardware & devices | 0 | 05-01-2007 02:21 AM |
| Wireless association failed due to an unknown reason. | msimn | Vista networking & sharing | 3 | 03-12-2007 08:50 AM |
| Vista entering reduced functionality mode without warning | Shelby Cain | Vista installation & setup | 12 | 03-04-2007 05:38 PM |