Windows Vista Forums

XAML Assembly References
  1. #1


    Joseph Bittman MVP MCSD Guest

    XAML Assembly References

    Feb. 25, 2006

    I just installed the Orcas Feb CTP/Windows SDK Feb CTP/ and Vista 5308.
    When ever I create any project under the WinFX type, I get lots of
    errors.... "Type Application could not be found. Are you missing an assembly
    reference?".. the same error happens for lots of objects including
    Application.Resources ... Page ... Grid.. etc - Any Ideas?

    ---
    Joseph Bittman
    Microsoft Certified Solution Developer
    Microsoft Most Valuable Professional - DPM





      My System SpecsSystem Spec

  2. #2


    Olav Tollefsen Guest

    Re: XAML Assembly References

    Yes, I got the same. However it compiles and runs fine.

    One more gotcha with the February CTP. It seems that you need to do a
    Rebuild everytime instead of just hitting F5 to get Avalon apps to run
    without a runtime error.

    Olav

    "Joseph Bittman MVP MCSD" <RyanBittman@msn.com> wrote in message
    news:uX6Wb1pOGHA.3196@TK2MSFTNGP09.phx.gbl...
    > Feb. 25, 2006
    >
    > I just installed the Orcas Feb CTP/Windows SDK Feb CTP/ and Vista 5308.
    > When ever I create any project under the WinFX type, I get lots of
    > errors.... "Type Application could not be found. Are you missing an
    > assembly reference?".. the same error happens for lots of objects
    > including Application.Resources ... Page ... Grid.. etc - Any Ideas?
    >
    > ---
    > Joseph Bittman
    > Microsoft Certified Solution Developer
    > Microsoft Most Valuable Professional - DPM
    >




      My System SpecsSystem Spec

  3. #3


    Joseph Bittman MVP MCSD Guest

    Re: XAML Assembly References

    Feb. 26, 2006

    Really? I can't? - When I go to Design mode, I get a screen which says
    "Whoops!" and says to modify the XAML so the designer can properly parse the
    document.

    What did you do?

    ---
    Joseph Bittman
    Microsoft Certified Solution Developer
    Microsoft Most Valuable Professional - DPM


    "Olav Tollefsen" <x@y.com> wrote in message
    news:u0WMFvqOGHA.428@tk2msftngp13.phx.gbl...
    > Yes, I got the same. However it compiles and runs fine.
    >
    > One more gotcha with the February CTP. It seems that you need to do a
    > Rebuild everytime instead of just hitting F5 to get Avalon apps to run
    > without a runtime error.
    >
    > Olav
    >
    > "Joseph Bittman MVP MCSD" <RyanBittman@msn.com> wrote in message
    > news:uX6Wb1pOGHA.3196@TK2MSFTNGP09.phx.gbl...
    >> Feb. 25, 2006
    >>
    >> I just installed the Orcas Feb CTP/Windows SDK Feb CTP/ and Vista 5308.
    >> When ever I create any project under the WinFX type, I get lots of
    >> errors.... "Type Application could not be found. Are you missing an
    >> assembly reference?".. the same error happens for lots of objects
    >> including Application.Resources ... Page ... Grid.. etc - Any Ideas?
    >>
    >> ---
    >> Joseph Bittman
    >> Microsoft Certified Solution Developer
    >> Microsoft Most Valuable Professional - DPM
    >>

    >
    >




      My System SpecsSystem Spec

  4. #4


    Olav Tollefsen Guest

    Re: XAML Assembly References

    Can't do what? Use the Designed or Compile and Build the project? I also
    have problems with the designer, but it still compiles and build the
    project.

    Olav

    "Joseph Bittman MVP MCSD" <RyanBittman@msn.com> wrote in message
    news:O30MbsvOGHA.2828@TK2MSFTNGP12.phx.gbl...
    > Feb. 26, 2006
    >
    > Really? I can't? - When I go to Design mode, I get a screen which says
    > "Whoops!" and says to modify the XAML so the designer can properly parse
    > the document.
    >
    > What did you do?
    >
    > ---
    > Joseph Bittman
    > Microsoft Certified Solution Developer
    > Microsoft Most Valuable Professional - DPM
    >
    >
    > "Olav Tollefsen" <x@y.com> wrote in message
    > news:u0WMFvqOGHA.428@tk2msftngp13.phx.gbl...
    >> Yes, I got the same. However it compiles and runs fine.
    >>
    >> One more gotcha with the February CTP. It seems that you need to do a
    >> Rebuild everytime instead of just hitting F5 to get Avalon apps to run
    >> without a runtime error.
    >>
    >> Olav
    >>
    >> "Joseph Bittman MVP MCSD" <RyanBittman@msn.com> wrote in message
    >> news:uX6Wb1pOGHA.3196@TK2MSFTNGP09.phx.gbl...
    >>> Feb. 25, 2006
    >>>
    >>> I just installed the Orcas Feb CTP/Windows SDK Feb CTP/ and Vista
    >>> 5308. When ever I create any project under the WinFX type, I get lots of
    >>> errors.... "Type Application could not be found. Are you missing an
    >>> assembly reference?".. the same error happens for lots of objects
    >>> including Application.Resources ... Page ... Grid.. etc - Any Ideas?
    >>>
    >>> ---
    >>> Joseph Bittman
    >>> Microsoft Certified Solution Developer
    >>> Microsoft Most Valuable Professional - DPM
    >>>

    >>
    >>

    >
    >




      My System SpecsSystem Spec

  5. #5


    Joseph Bittman MVP MCSD Guest

    Re: XAML Assembly References

    Feb. 26, 2006

    Odd... unless you kept posting I'd have given up. - If I just put a
    <button>test</> in there (the Grid object or directly under the Window
    element) and ran it, nothing would display. It would compile - enter debug
    mode - but nothing would appear. This is when I just goto Create New Project
    & click any WinFX type (VB), and leave the default project name fields.

    Because you kept be from giving up, I just tried it but I specified a custom
    Project name. lol - And it does actually show up now when I run it??? =) --
    Anyway, I guess the moral of the story is to always give a custom project
    name. Thanks!!

    - JB


    "Olav Tollefsen" <x@y.com> wrote in message
    news:enFh5OwOGHA.3260@TK2MSFTNGP11.phx.gbl...
    > Can't do what? Use the Designed or Compile and Build the project? I also
    > have problems with the designer, but it still compiles and build the
    > project.
    >
    > Olav
    >
    > "Joseph Bittman MVP MCSD" <RyanBittman@msn.com> wrote in message
    > news:O30MbsvOGHA.2828@TK2MSFTNGP12.phx.gbl...
    >> Feb. 26, 2006
    >>
    >> Really? I can't? - When I go to Design mode, I get a screen which says
    >> "Whoops!" and says to modify the XAML so the designer can properly parse
    >> the document.
    >>
    >> What did you do?
    >>
    >> ---
    >> Joseph Bittman
    >> Microsoft Certified Solution Developer
    >> Microsoft Most Valuable Professional - DPM
    >>
    >>
    >> "Olav Tollefsen" <x@y.com> wrote in message
    >> news:u0WMFvqOGHA.428@tk2msftngp13.phx.gbl...
    >>> Yes, I got the same. However it compiles and runs fine.
    >>>
    >>> One more gotcha with the February CTP. It seems that you need to do a
    >>> Rebuild everytime instead of just hitting F5 to get Avalon apps to run
    >>> without a runtime error.
    >>>
    >>> Olav
    >>>
    >>> "Joseph Bittman MVP MCSD" <RyanBittman@msn.com> wrote in message
    >>> news:uX6Wb1pOGHA.3196@TK2MSFTNGP09.phx.gbl...
    >>>> Feb. 25, 2006
    >>>>
    >>>> I just installed the Orcas Feb CTP/Windows SDK Feb CTP/ and Vista
    >>>> 5308. When ever I create any project under the WinFX type, I get lots
    >>>> of errors.... "Type Application could not be found. Are you missing an
    >>>> assembly reference?".. the same error happens for lots of objects
    >>>> including Application.Resources ... Page ... Grid.. etc - Any Ideas?
    >>>>
    >>>> ---
    >>>> Joseph Bittman
    >>>> Microsoft Certified Solution Developer
    >>>> Microsoft Most Valuable Professional - DPM
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




      My System SpecsSystem Spec

XAML Assembly References problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Project References. Adrian .NET General 0 23 Mar 2009
Is it possible to include XAML files into another XAML file? star-italia .NET General 6 12 Jun 2008
launching different XAML aplication from another XAML app SenthilVel Avalon 0 31 Mar 2007
Can you reference a XAML Resource from an External Assembly? wackyphill@yahoo.com Avalon 3 05 Feb 2007
How to deploy an XAML-based App with its XAML-UI-File? Solveigh Avalon 6 08 Nov 2006