Click here to Skip to main content
15,912,329 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF, uncompiled XAML and scripting? Pin
Antonino Porcino10-Apr-12 7:07
Antonino Porcino10-Apr-12 7:07 
QuestionPRISM RaisePropertyChanged Pin
mi_n9-Apr-12 17:35
mi_n9-Apr-12 17:35 
QuestionBinding not initially filling in List of data Pin
Sutton Mehaffey9-Apr-12 7:32
Sutton Mehaffey9-Apr-12 7:32 
Questionboolean attached property Pin
michaelgr19-Apr-12 7:10
michaelgr19-Apr-12 7:10 
Question2 WPF Style Questions Pin
Kevin Marois9-Apr-12 7:09
professionalKevin Marois9-Apr-12 7:09 
AnswerRe: 2 WPF Style Questions Pin
Bernhard Hiller10-Apr-12 0:06
Bernhard Hiller10-Apr-12 0:06 
QuestionWPF 3D Pin
Kul_77-Apr-12 4:52
Kul_77-Apr-12 4:52 
AnswerRe: WPF 3D PinPopular
Wes Aday7-Apr-12 5:09
professionalWes Aday7-Apr-12 5:09 
AnswerRe: WPF 3D Pin
Abhinav S7-Apr-12 20:08
Abhinav S7-Apr-12 20:08 
GeneralRe: WPF 3D Pin
Kuldeep B8-Apr-12 1:29
Kuldeep B8-Apr-12 1:29 
GeneralRe: WPF 3D Pin
Kuldeep B8-Apr-12 1:40
Kuldeep B8-Apr-12 1:40 
QuestionLOOP THOUGH THE ROWS OF A TWO COLUMN WPF DATAGRID AND FORM A LIST COLLECTION WITH THE ELEMENTS Pin
Valentine 27-Apr-12 2:24
Valentine 27-Apr-12 2:24 
AnswerRe: LOOP THOUGH THE ROWS OF A TWO COLUMN WPF DATAGRID AND FORM A LIST COLLECTION WITH THE ELEMENTS Pin
Mycroft Holmes7-Apr-12 16:21
professionalMycroft Holmes7-Apr-12 16:21 
QuestionWPF Border Drop Shadow Trigger Pin
Kevin Marois6-Apr-12 12:27
professionalKevin Marois6-Apr-12 12:27 
QuestionResource dictionary Pin
michaelgr16-Apr-12 9:46
michaelgr16-Apr-12 9:46 
AnswerRe: Resource dictionary Pin
RobCroll6-Apr-12 12:47
RobCroll6-Apr-12 12:47 
GeneralRe: Resource dictionary Pin
michaelgr16-Apr-12 20:54
michaelgr16-Apr-12 20:54 
GeneralRe: Resource dictionary Pin
RobCroll7-Apr-12 1:53
RobCroll7-Apr-12 1:53 
QuestionWindow Background Image Pin
Kevin Marois6-Apr-12 6:07
professionalKevin Marois6-Apr-12 6:07 
QuestionScript warning in WPF WebBrowser Pin
Mahesha9995-Apr-12 10:08
Mahesha9995-Apr-12 10:08 
QuestionASP Silverlight control unable to call a web service from the debugger Pin
Steve Holdorf5-Apr-12 6:36
Steve Holdorf5-Apr-12 6:36 
AnswerRe: ASP Silverlight control unable to call a web service from the debugger Pin
Abhinav S5-Apr-12 6:47
Abhinav S5-Apr-12 6:47 
QuestionWPF Merged Resource Dictionary Pin
Kevin Marois4-Apr-12 7:06
professionalKevin Marois4-Apr-12 7:06 
I just created a new WPF app. I set up some folder, then added a resource dictionary called AppResources in the Resources folder.

In my window, all I have is

<Window x:Class="MyApp.Views.Window2"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Window2" 
        Height="400" 
        Width="400">
    
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Resources\AppResources.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    
    <Grid>
    </Grid>
    
</Window>


The compiler is complaining with

"The file 'Resources\AppResources.xaml' is not part of the project or its 'Build Action' property is not set to 'Resource'."

The file IS part of the project and its Action property IS set to Resource.

I'v been in this project for all of 5 minutes and I can't even get past this.

Anyone know WTF is wrong here??????
Everything makes sense in someone's mind

GeneralRe: WPF Merged Resource Dictionary Pin
Kevin Marois4-Apr-12 7:34
professionalKevin Marois4-Apr-12 7:34 
GeneralRe: WPF Merged Resource Dictionary Pin
Mycroft Holmes4-Apr-12 14:38
professionalMycroft Holmes4-Apr-12 14:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.