Click here to Skip to main content
15,885,365 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 4:10
Bex_30009-Jan-09 4:10 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 4:32
Jammer9-Jan-09 4:32 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 4:51
Jammer9-Jan-09 4:51 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 5:08
Bex_30009-Jan-09 5:08 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 5:21
Jammer9-Jan-09 5:21 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 5:29
Bex_30009-Jan-09 5:29 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 5:39
Jammer9-Jan-09 5:39 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
chefkokkie11-Feb-09 7:30
chefkokkie11-Feb-09 7:30 
Thanks all, especially Jammer for providing the clue to my problem.

I was struggling and searching forums for days with a similar problem. On a number of forums it was said to set the build action of style.xaml file to Resource rather than Embedded Resource or Page. Since I did not get past error messages with either of the latter, I did change it to Resource and got the pack URI source format to work for some other resource dictionaries that were set to Resource, but not my main styles file. All these files were in the same subfolder in another project. For the life of me I still cannot figure out why one would work and another would not both in the same project called by the same project, all build actions set to Resource.

But if you are getting the message about Missing XmlNamespace, Assembly, or ClrNamespace in Mapping instruction (even though you know that these have been set correctly), then changing the build action from Resource to Page seems to make it work.

I think this may actually be a bug in VS2008. When I turn build action back to Resource (to capture the error message for this forum) it still loads fine. Even REbuilding versus building makes it work just fine. It is the exact same state I was in before for days that would not work.
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 5:42
Jammer9-Jan-09 5:42 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 5:41
Bex_30009-Jan-09 5:41 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 5:43
Jammer9-Jan-09 5:43 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 5:50
Bex_30009-Jan-09 5:50 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer10-Jan-09 5:54
Jammer10-Jan-09 5:54 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_300012-Jan-09 0:12
Bex_300012-Jan-09 0:12 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer12-Jan-09 22:42
Jammer12-Jan-09 22:42 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_300012-Jan-09 23:47
Bex_300012-Jan-09 23:47 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer13-Jan-09 10:12
Jammer13-Jan-09 10:12 
QuestionMove a 3D object on screen. Pin
ParagGupta9-Jan-09 2:07
ParagGupta9-Jan-09 2:07 
QuestionTo format date in datagrid column in silverlight Pin
priyagee9-Jan-09 1:02
priyagee9-Jan-09 1:02 
AnswerRe: To format date in datagrid column in silverlight Pin
johnsontroye9-Jan-09 17:22
johnsontroye9-Jan-09 17:22 
GeneralRe: To format date in datagrid column in silverlight Pin
priyagee11-Jan-09 20:11
priyagee11-Jan-09 20:11 
QuestionNeeded sample Program Which run on both windows and web. Pin
vinethgentle8-Jan-09 23:51
vinethgentle8-Jan-09 23:51 
AnswerRe: Needed sample Program Which run on both windows and web. Pin
Pete O'Hanlon9-Jan-09 1:20
mvePete O'Hanlon9-Jan-09 1:20 
QuestionGridSplitter Cursor Pin
Johan Lombaard8-Jan-09 22:27
Johan Lombaard8-Jan-09 22:27 
AnswerRe: GridSplitter Cursor Pin
User 27100910-Jan-09 15:15
User 27100910-Jan-09 15:15 

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.