Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > WinFX General

Entering break mode failed for the following reason: Source File XXX does not belong to the project being debugged

 
 
Thread Tools Display Modes
Old 10-19-2006   #1 (permalink)
HokutoNoKen
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








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50