• Upgrade your Internet Experience
  • Sign in
  • Microsoft.com
  • United States (English)
    Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Italia (Italiano)Россия (Русский)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特别行政區 (中文)
 
 
.NET Framework Developer Center
 
 
Home
 
 
Library
 
 
Learn
 
 
Downloads
 
 
Support
 
 
Community
 
 
Forums
 
 
 
.NET Framework Developer Center > .NET Development Forums > Windows Presentation Foundation (WPF) > Trying to run WPF samples
Ask a questionAsk a question
Search Forums:
  • Search Windows Presentation Foundation (WPF) Forum Search Windows Presentation Foundation (WPF) Forum
  • Search All .NET Development Forums Search All .NET Development Forums
  • Search All MSDN Forums Search All MSDN Forums
 

AnswerTrying to run WPF samples

  • Sunday, March 19, 2006 2:10 PMjaniv Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0

    Trying the following windows SDK samples:

    BlackJack

    Calculator

    I keep getting errors on the xaml:

    these error were taken from the Calculator build:

    MyApp.xaml(1,14): error MC4629: 'http://schemas.microsoft.com/winfx/xaml/2005' is not a recognized namespace. Line 1, position 14.

    Window1.xaml(1,9): error MC4629: 'http://schemas.microsoft.com/winfx/xaml/2005' is not a recognized namespace. Line 1, position 9.

     

    Please help,

    Thanks,

    Janiv Ratson.

     

    • ReplyReply
    • QuoteQuote
     

Answers

  • Sunday, March 19, 2006 4:59 PMRob RelyeaModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Vote As Helpful
    0

    For a tool to migrate these samples and any other pre-existing WPF/XAML see this tool:

    http://www.longhornblogs.com/rrelyea/archive/2006/02/14/XamlMigrator.aspx

     

    • ReplyReply
    • QuoteQuote
     

All Replies

  • Sunday, March 19, 2006 2:17 PMMike DanesModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0

    Check the ReleaseNotes.htm file that came with Windows SDK. In section 6.6 it lists the samples that don't compile due to changes in the last CTP of WinFX and in section 6.6.12 is presented exactly this error:

    "

    6.6.12  Many Windows Presentation Foundation samples do not build

    A recent change to the schema location in Windows Presentation Foundation causes many samples to not build. The changes are the following:

    1. old = "http://schemas.microsoft.com/winfx/avalon/2005"

        new= "http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    2. old = "http://schemas.microsoft.com/winfx/xaml/2005"

        new = http://schemas.microsoft.com/winfx/2006/xaml"

    "

    • ReplyReply
    • QuoteQuote
     
Need Help with Forums? (FAQ)
 
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement