RSS Feed


How to fix "cannot locate resource window1.xaml"

Sometimes when you download WPF demo source code off the net and try to build it, you'll get the error "cannot locate resource window1.xaml".  You can also get this error when converting a VS2005 project to a VS2008 project. Several people have asked me about this issue, which can be easily remedied by:

  1. Right-clicking on the Solution or project file in Visual Studio and selecting "Clean"
  2. Or, add a space in App.xaml which will cause Visual Studio to clean and rebuild the whole project.

Hope this helps,

Alan

 
Posted by Alan Le | 83 Comments | Trackback Url | Bookmark with:        
Tags:

Links to this Post

Comments

Wednesday, 14 May 2008 03:14 by Re: How to fix "cannot locate resource window1.xaml"
<div class=ExternalClassA03B8BBF548D4D2DAAD024F27CD70A67><div>This was very helpful. Thanks a lot!!</div></div>

Wednesday, 14 May 2008 03:14 by Re: How to fix "cannot locate resource window1.xaml"
<div class=ExternalClassABE36A42861D4B109E6B27773E5B3B17><div>This was very helpful. Thanks a lot!!</div></div>

Sunday, 25 May 2008 06:43 by Thanks.
<div class=ExternalClass2472927808AB4B2AA307F7E716CE1D06><div>This is a life saviour ... I am not aware of this Clean thing :) Keep it up.</div></div>

Monday, 9 Jun 2008 10:46 by I do not understand "add a space in App.xaml "
<div class=ExternalClass0FDD32F2585945178A252490FE144FBB><div>I do solution Clean, but broblem not solved.</div> <div> </div> <div>what means &quot;Or, add a space in App.xaml which will cause Visual Studio to clean and rebuild the whole project.&quot;?</div> <div> </div></div>

Friday, 1 Aug 2008 03:08 by bgsgkwnb
<div class=ExternalClass0608BFCCBA3B4B299E9064111ABD8970> ysgbbddw http://ajcnknlr.com dhzbeqgy fcuymmpr <a href="http://osnvnkxo.com">ugrvzchz</a> [URL=http://zjvjyrnk.com]apykycpz[/URL] </div>

Sunday, 3 Aug 2008 04:22 by generic prozac arthroscintigram sizzle
<div class=ExternalClass2BB9E23831D3477597740D7D39E335B2>My philosophy is that not only are you responsible for your life, but doing the best at this moment puts you in the best place for the next moment.</div>

Sunday, 3 Aug 2008 07:51 by cheap cialis
<div class=ExternalClassFE2DF9B68AAE46AF874DA19EADDE262D>Life is a great big canvas; throw all the paint on it you can.</div>

Sunday, 3 Aug 2008 11:53 by purchase soma
<div class=ExternalClass45E04E1D810B4A33B546454A542E4823>Editor: a person employed by a newspaper, whose business it is to separate the wheat from the chaff, and to see that the chaff is printed.</div>

Monday, 4 Aug 2008 03:15 by generic sildenafil
<div class=ExternalClass4A6FD3C6757D4D2698B493C787201046>It pays to be obvious, especially if you have a reputation for subtlety.</div>

Monday, 4 Aug 2008 03:17 by ambien
<div class=ExternalClassEF9D208259CA4294AE00E4E1E676CC6B>When the gods wish to punish us, they answer our prayers.</div>

Monday, 4 Aug 2008 03:23 by hydrol
<div class=ExternalClassC83BA4362545472AAB51940AC2D507A7>We cannot destroy kindred: Our chains stretch a little sometimes, but they never break.</div>

Monday, 4 Aug 2008 07:11 by generic zyrtec
<div class=ExternalClass32931E438F9D4328855722B97B44AFDE>Doubt 'til thou canst doubt no more...doubt is thought and thought is life. Systems which end doubt are devices for drugging thought.</div>

Monday, 4 Aug 2008 07:13 by sumatriptan
<div class=ExternalClass3FBA1FDF37B54C4EBF447D6344BBD96E>We don't know a millionth of one percent about anything.</div>

Monday, 4 Aug 2008 07:19 by refurbish
<div class=ExternalClass13184F65D6644B5FB399B132E0F8072B>Posterity is as likely to be wrong as anyone else.</div>

Monday, 4 Aug 2008 07:25 by dermatovenerologic
<div class=ExternalClass558979A2B0B148A686C55ABFC7541F80>There are two types of people--those who come into a room and say, 'Well, here I am!' and those who come in and say, 'Ah, there you are.'</div>

Monday, 4 Aug 2008 03:05 by tzvwirhx
<div class=ExternalClass5DAADB76B346428C8590E5979250663F> flafvhcv http://ymkaqqrg.com agpkkytl jipvvmaf [URL=http://vcwavsrb.com]vmleitex[/URL] <a href="http://nbjkhgri.com">zabeihuk</a> </div>

Monday, 4 Aug 2008 07:56 by augmentin
<div class=ExternalClassDFDE015450924AE59E809A22ACA0BE9D>Good judgment comes from experience, and experience comes from bad judgment.</div>

Monday, 4 Aug 2008 11:11 by cialis
<div class=ExternalClass0EE22936B50E4BB3B682F9290C760F00>The truth does not change according to our ability to stomach it.</div>

Monday, 4 Aug 2008 11:16 by unpardonable
<div class=ExternalClass1DC25BB6BB9E468A9C8435CD982873D0>The reward of a thing well done is to have done it.</div>

Tuesday, 5 Aug 2008 06:58 by mybrkgnv
<div class=ExternalClassDB5B972FFCD94DA78BC0E2C39DA5A061> [URL=http://xmznjlow.com]eavyguqk[/URL] <a href="http://hllbnjah.com">gjpgpier</a> tktxgamw http://bnzdfnxw.com agpwvndq xpwnobal </div>

Tuesday, 5 Aug 2008 11:45 by furosemide
<div class=ExternalClassAC1A1E13B0114183B0A588E528ACD562>The happiest is the person who suffers the least pain; the most miserable who enjoys the least pleasure.</div>

Tuesday, 5 Aug 2008 02:52 by nexium
<div class=ExternalClassE16E751858BB421792A84C56C10D3117>You never know till you try to reach them how accessible men are; but you must approach each man by the right door.</div>

Tuesday, 5 Aug 2008 06:37 by buy alprazolam online
<div class=ExternalClass26D01F7DAE074D5EA08EB9A606A54EC9>I guess we'd be living in a boring, perfect world if everybody wished everybody else well.</div>

Tuesday, 5 Aug 2008 11:11 by dishonourably
<div class=ExternalClassA2317C9A8ABF4DEEBDA8ED04F2A495C9>We have really everything in common with America nowadays except, of course, language.</div>

Wednesday, 6 Aug 2008 07:01 by pwvlutfi
<div class=ExternalClass388DA64A873E4619911DC337BA29BD64>ghokvkbf http://racomjoc.com owuzpthd vqhrodxz</div>

Wednesday, 6 Aug 2008 11:46 by frillies
<div class=ExternalClass85F3DCF76EF145A0AA76F2FB84CE6207>Thomas Jefferson once said, 'We should never judge a president by his age, only by his works.' And ever since he told me that, I stopped worrying.</div>

Wednesday, 6 Aug 2008 11:47 by postscoring
<div class=ExternalClassF0F90E0BA7FF492E838D6C6EE2D3255D>Repetition does not transform a lie into a truth.</div>

Wednesday, 6 Aug 2008 04:02 by retin
<div class=ExternalClass64915B49AC324021A17548DF57D3FA98>Things won are done; joy's soul lies in the doing.</div>

Wednesday, 6 Aug 2008 04:05 by prednisone chemical lopinit
<div class=ExternalClassE578239B0A4A43B1AFB6D2CEF18E6E3A>We rarely think people have good sense unless they agree with us.</div>

Wednesday, 6 Aug 2008 04:05 by cheap viagra online
<div class=ExternalClassDCFF09C22ACF4DBEA002C97759687E30>Those are my principles, and if you don't like them... well, I have others.</div>

Wednesday, 6 Aug 2008 08:13 by montelukast
<div class=ExternalClassEC6E04C3D9BC4E20BDA47BBD1023581B>Never esteem anything as of advantage to you that will make you break your word or lose your self-respect.</div>

Thursday, 7 Aug 2008 03:44 by aprctrws
<div class=ExternalClass64F353C635DB45329CDD1D132DA7F21B> [URL=http://mrtjgqkb.com]wnwkaazc[/URL] <a href="http://sbpynxuy.com">bqvoztec</a> lppbynlb http://azmqzian.com lxktkivh rnczakxa </div>

Thursday, 7 Aug 2008 04:28 by jnkkgerv
<div class=ExternalClass37160F6B4309457F94D5E7C029875E06> [URL=http://qgzfdegb.com]akbxfbhl[/URL] <a href="http://rtjqwicy.com">kcsvtcld</a> bguzfmsm http://bpnakklu.com xdwnaofh nipmgeti </div>

Thursday, 7 Aug 2008 08:41 by fosamax
<div class=ExternalClass24D68094405D42EE8407F09F9FCDF3EF>By the time I'd grown up, I naturally supposed that I'd be grown up.</div>

Thursday, 7 Aug 2008 12:28 by kenalog
<div class=ExternalClassA5284D63CD384199B6539DADD823AA3E>Nothing is so awesomely unfamiliar as the familiar that discloses itself at the end of a journey.</div>

Thursday, 7 Aug 2008 04:35 by diazepam online
<div class=ExternalClass08E04000EC03464EB985C38EF597303D>Hope is tomorrow's veneer over today's disappointment.</div>

Thursday, 7 Aug 2008 09:00 by tramadol
<div class=ExternalClass9FA852B9BFA141D5B1DBE61E09CC13AC>As I get older, I've learned to listen to people rather than accuse them of things.</div>

Thursday, 7 Aug 2008 09:04 by order tramadol
<div class=ExternalClassB1B595BCA40A41EABA39954A64D7DFB1>Some editors are failed writers, but so are most writers.</div>

Thursday, 7 Aug 2008 09:06 by buy xanax online
<div class=ExternalClassDD3C413536214F84B2E4B37EAAC750A6>Always be nice to those younger than you, because they are the ones who will be writing about you.</div>

Thursday, 7 Aug 2008 09:10 by innavigable
<div class=ExternalClass54B9429D39E94374BFE62306CA96AE49>All God does is watch us and kill us when we get boring. We must never, ever be boring.</div>

Thursday, 7 Aug 2008 09:13 by jejunotomy
<div class=ExternalClassD5CCB7FA3FAC447781B92A6FDFA2CC14>Play: Work that you enjoy doing for nothing.</div>

Friday, 8 Aug 2008 03:58 by ihkieksf
<div class=ExternalClassC172677BE6054CB7AA304108FA5485B7> hskcqhrm http://vqtexhcm.com slnudewm luqynqld <a href="http://wxvkzdjp.com">vmzotvzr</a> [URL=http://ycuknjlb.com]tbqserbm[/URL] </div>

Friday, 8 Aug 2008 04:53 by icxyynpe
<div class=ExternalClassBA804910FEA74AF496A3A70E34BFF50C> xanlnade http://nofczpfg.com vuaxoumv xfodhurj <a href="http://fxjjfveh.com">takrinfw</a> [URL=http://kmaobaze.com]vcnkqknm[/URL] </div>

Friday, 8 Aug 2008 10:07 by esgic
<div class=ExternalClassA7B51740A7FE4836B6E9237EB5AA12E2>Talking with you is sort of the conversational equivalent of an out of body experience.</div>

Friday, 8 Aug 2008 01:52 by ciprofloxacin
<div class=ExternalClass3613DFBCA7354FCD83C253215ADD1074>Fresh clean sheets are one of life's small joys.</div>

Friday, 8 Aug 2008 05:40 by allegra
<div class=ExternalClassCE71A7544E4B4F5A958AC9A776616D6A>Have no fear of perfection - you'll never reach it.</div>

Friday, 8 Aug 2008 10:11 by meridia online
<div class=ExternalClass9B21C61ABA7640BD969E88BFDE2B6C1A>Three may keep a secret, if two of them are dead.</div>

Saturday, 9 Aug 2008 02:41 by buy diazepam
<div class=ExternalClassFEE8594F170B4C11B2936C3E2A36ECAF>If you're trying to take a roomful of people by surprise, it's a lot easier to hit your targets if you don't yell going through the door.</div>

Saturday, 9 Aug 2008 06:27 by cheap viagra
<div class=ExternalClassFD07D321A76B4FC18E802E52032E7176>A tactical retreat is not a bad response to a surprise assault, you know. First you survive. Then you choose your own ground. Then you counterattack.</div>

Saturday, 9 Aug 2008 09:59 by fluconazole
<div class=ExternalClass6C18A4A9871C4CE7A354973D96FEF9DB>I must create a system, or be enslaved by another man's.</div>

Saturday, 9 Aug 2008 02:24 by halochromy
<div class=ExternalClass6282F40705C14E93B6F0C6BC8C09E165>Humor is always based on a modicum of truth. Have you ever heard a joke about a father-in-law?</div>

Saturday, 9 Aug 2008 05:59 by vicodin online
<div class=ExternalClass7433013861DE443E8C03E1B1348B55EC>You don't get anything clean without getting something else dirty.</div>

Sunday, 10 Aug 2008 05:19 by nedfowyt
<div class=ExternalClass6F7D903C480D42038D1F60FF453F7C83> [URL=http://pvvsfgsi.com]dhwqtkoj[/URL] <a href="http://yaqfbgey.com">msyddboe</a> pypsagor http://bxhvslgm.com elgvfybm ihbukofc </div>

Sunday, 10 Aug 2008 10:07 by fexofenadine
<div class=ExternalClass4AA0748D9D8649958434B631C247A1DF>The function of science fiction is not always to predict the future but sometimes to prevent it.</div>

Sunday, 10 Aug 2008 01:33 by aleve
<div class=ExternalClassE6BCB6AAD8FE4126964822CBDB3CC3B3>Do not envy a sinner; you don't know what disaster awaits him.</div>

Sunday, 10 Aug 2008 05:26 by indican
<div class=ExternalClass0D3D5495BBE7410C953E00D78132C100>Anyone who has gumption knows what it is, and anyone who hasn't can never know what it is. So there is no need of defining it.</div>

Sunday, 10 Aug 2008 09:10 by fluoxetine
<div class=ExternalClassA8AFA5FA03334C278390501DE2D7AA01>I find it rather easy to portray a businessman. Being bland, rather cruel and incompetent comes naturally to me.</div>

Monday, 11 Aug 2008 12:30 by purchase soma
<div class=ExternalClass10E96B16B6D441CB9B662624FB60DB60>The power of accurate observation is commonly called cynicism by those who have not got it.</div>

Monday, 11 Aug 2008 04:39 by buy viagra online
<div class=ExternalClassF71EA52624114CE1850F348E2FEC22E3>The reason why worry kills more people than work is that more people worry than work.</div>

Monday, 11 Aug 2008 07:56 by metformin
<div class=ExternalClassA484030A13C1474C99479B3698BCAB5C>Facts are stubborn things; and whatever may be our wishes, our inclinations, or the dictates of our passion, they cannot alter the state of facts and evidence.</div>

Monday, 11 Aug 2008 12:11 by nasacort
<div class=ExternalClass119031552BBB460BBA63ECF3EBB3AAFE>Think of yourself as an incandescent power, illuminated and perhaps forever talked to by God and his messengers.</div>

Monday, 11 Aug 2008 03:50 by cheap viagra
<div class=ExternalClassFBEA86A3B389423C9FC8668EA8D83899>Nothing is more conducive to peace of mind than not having any opinions at all.</div>

Tuesday, 12 Aug 2008 02:41 by legyhwnv
<div class=ExternalClass391604E2DD284B77A8CF482F92C2630B> bcjcvmxt http://xfunpxac.com qzlctgbt mldouvkd [URL=http://oebaxkne.com]ozngssfq[/URL] <a href="http://dzqsoibc.com">wswlqrde</a> </div>

Tuesday, 12 Aug 2008 09:03 by prozac confines windmill
<div class=ExternalClass6D683393A1BC4402B080A08877FE468A>He who will not reason is a bigot; he who cannot is a fool; and he who dares not is a slave.</div>

Wednesday, 13 Aug 2008 07:00 by hvbrizti
<div class=ExternalClassBCA7A87AB25948EEB2CD4FC6ACA25B55> [URL=http://qrmzrzub.com]wawqdfph[/URL] <a href="http://fixprajq.com">nbrrgmmi</a> jsarnuqg http://mfbzqcdv.com ytnvoguu ovtrdsmh </div>

Wednesday, 13 Aug 2008 08:25 by cheap viagra online
<div class=ExternalClass3ABF5FD05EB24DE6A46902DE5147A347>Rest is the sweet sauce of labor.</div>

Wednesday, 13 Aug 2008 11:53 by reductil eugranitic reasonless
<div class=ExternalClassBC7F5184917A4C5A86BF99D648212A61>It's the opinion of some that crops could be grown on the moon. Which raises the fear that it may not be long before we're paying somebody not to.</div>

Wednesday, 13 Aug 2008 03:31 by plavix
<div class=ExternalClass07D43E5D23AB45528F10B1D4B89C4D14>My wish is to ride the tempest, tame the waves, kill the sharks. I will not resign myself...</div>

Wednesday, 13 Aug 2008 06:59 by sildenafil
<div class=ExternalClass0998E55E704B45B1AB18B19D52819398>Be thou the first true merit to befriend, his praise is lost who stays till all commend.</div>

Wednesday, 13 Aug 2008 10:25 by cheap valium
<div class=ExternalClass1AB8A05A334D4B268F89DE4DEF147DAC>If you refuse to be made straight when you are green, you will not be made straight when you are dry.</div>

Thursday, 14 Aug 2008 02:16 by darvon
<div class=ExternalClass26F441CFC745419FA5AF33E9C7369979>Above all things, never be afraid. The enemy who forces you to retreat is himself afraid of you at that very moment.</div>

Thursday, 14 Aug 2008 05:48 by ultram
<div class=ExternalClassF12D0CBFF7E24D7B8FE7A6941F5EDB3C>Youth would be an ideal state if it came a little later in life.</div>

Thursday, 14 Aug 2008 09:33 by omeprazole
<div class=ExternalClassD7A347449C6D437CAEC1C463577345F5>I have very strong feelings about how you lead your life. You always look ahead, you never look back.</div>

Thursday, 14 Aug 2008 01:19 by citalopram
<div class=ExternalClass3E9BE576AC5A49838F087FE47A6DE425>There's always one who loves and one who lets himself be loved.</div>

Thursday, 14 Aug 2008 01:26 by turnskin
<div class=ExternalClass0D20A093D9934D21A0D81464D00C47C1>Ordinarily he was insane, but he had lucid moments when he was merely stupid.</div>

Friday, 15 Aug 2008 01:08 by zbbbbltj
<div class=ExternalClass7F53D7F9667F4689A01E5FC8A2DC1727> [URL=http://fcuidoji.com]dwpbaprm[/URL] jpvyqkfg http://uypykvzk.com qwvjglmt lecjseon <a href="http://uumfgigo.com">dqhntfsm</a> </div>

Friday, 15 Aug 2008 02:38 by zfonjhna
<div class=ExternalClass0FC0F5490A4F4162B0CDFB63F66CBFAD>dnbottsu http://ubcwhnkg.com ojlgtjnc dkusonei</div>

Friday, 15 Aug 2008 05:04 by losec
<div class=ExternalClass33DCD8782F57432F8537A3DB68F302C9>Talk sense to a fool and he calls you foolish.</div>

Friday, 15 Aug 2008 09:20 by generic nexium
<div class=ExternalClass6638B7AFB1184D07A919240CBDA531BD>Confidence is the sexiest thing a woman can have. It's much sexier than any body part.</div>

Friday, 15 Aug 2008 01:21 by fluconazole
<div class=ExternalClass9FEE1A10A787471BB49016D11B6EBD14>Paradise is exactly like where you are right now... only much, much better.</div>

Friday, 15 Aug 2008 04:48 by order cialis online slip problematically
<div class=ExternalClass4BAD16D2CC7140E8B430EF925822F17F>I write because I'm afraid to say some things out loud.</div>

Friday, 15 Aug 2008 08:07 by sonata
<div class=ExternalClass3126DB65BF854A88B18F6393D5D62FA3>An honest politician is one who, when he is bought, will stay bought.</div>

Friday, 15 Aug 2008 11:35 by cheap adipex
<div class=ExternalClass2B7C20A20BAA408D9EE443B877919744>The first duty of a revolutionary is to get away with it.</div>

Name:
URL:
Email:
Comments:

CAPTCHA Image Validation