Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > WinFX General

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

 
 
Old 10-19-2006   #1 (permalink)
HokutoNoKen


 
 

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 SpecsSystem Spec
 

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


Vista Forums 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 Ltd

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