Click here to Skip to main content
15,887,464 members
Home / Discussions / WPF
   

WPF

 
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 
GeneralRe: WPF Merged Resource Dictionary Pin
Kevin Marois5-Apr-12 5:31
professionalKevin Marois5-Apr-12 5:31 
Questionwpf-mediaElement Pin
mane08064-Apr-12 5:44
mane08064-Apr-12 5:44 
AnswerRe: wpf-mediaElement Pin
Pete O'Hanlon4-Apr-12 5:48
mvePete O'Hanlon4-Apr-12 5:48 
QuestionCan we have any website for wpf UI development like http://www.microsoft.com/design/toolbox ? Pin
vish27030074-Apr-12 5:30
vish27030074-Apr-12 5:30 
AnswerRe: Can we have any website for wpf UI development like http://www.microsoft.com/design/toolbox ? Pin
Mycroft Holmes4-Apr-12 14:33
professionalMycroft Holmes4-Apr-12 14:33 
QuestionStill slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 5:18
Sutton Mehaffey4-Apr-12 5:18 
AnswerRe: Still slightly struggling with Binding Pin
Pete O'Hanlon4-Apr-12 5:46
mvePete O'Hanlon4-Apr-12 5:46 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 7:33
Sutton Mehaffey4-Apr-12 7:33 
GeneralRe: Still slightly struggling with Binding Pin
Pete O'Hanlon4-Apr-12 22:53
mvePete O'Hanlon4-Apr-12 22:53 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey5-Apr-12 9:02
Sutton Mehaffey5-Apr-12 9:02 
GeneralRe: Still slightly struggling with Binding Pin
Pete O'Hanlon6-Apr-12 2:55
mvePete O'Hanlon6-Apr-12 2:55 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey6-Apr-12 4:45
Sutton Mehaffey6-Apr-12 4:45 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 10:03
Sutton Mehaffey4-Apr-12 10:03 
QuestionCreating User Control in WPF Pin
MemberDotNetting4-Apr-12 1:09
MemberDotNetting4-Apr-12 1:09 
Questionremote desktop via wp7 Pin
heba abu ghaleih22 3-Apr-12 22:36
heba abu ghaleih22 3-Apr-12 22:36 

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.