XAMLPAD integration in VISUAL Studio 2005 Beta 2?

Hi! I am starting to try out functionality in the new Avalon, and wish to use XAMLPAD as an external tool in Visual Studio. It seems like there is no support for loading .XAML files in XAMLPAD XAMLPAD / does not give any hints.  Any suggestions

I have tried to use MOBIFORM Aurora, but it seem to put in some extra markup that i do not need, and I miss intellisense. By the way is there a more efficent way to "refresh" synchronization between .XAML and the code-behind file than doing a build before getting access to UI objects

Henning K. Skoglund


Answer this question

XAMLPAD integration in VISUAL Studio 2005 Beta 2?

  • DLeighty

    Hi, I have tested your configuration. XAMLPAD will start, but the file is not loaded automatically. So I still have to use cut and paste. I am running the latest PDC release of Avalon runtime and SDK. Is this a version problem

    Henning K. Skoglund

  • zuninet

    Hi,

    I've got XAMLPad hooked up to Visual C# 2005 Beta 2, here's what I did:

    from menu, Tools >> External Tools
    (Add)
    Title: XAMLPad
    Command: (Program Files Path)\Microsoft SDKs\WinFX\Bin\XAMLPad.exe
    Arguments: $(ItemPath)

    Then, to view a .xaml file in XAMLPad, I select the appropriate source file from the solution explorer, and choose XAMLPad from the tools menu.

    I noticed that XAMLPad gets a little funny about the class attribute in the namespace, and it won't load windows directly..

    Hope this helps

    Daniel Crowley - Wilson

  • Tayo

    Hi Henning,

    I'm wondering about what extra markup that you are refering to Aurora is outputting the markup as per the Avalon Engine, for it is entirely built within the SDK. I agree with you about missing Intellisense but I can assure you it will be a feature in Aurora within the near future.

    Alexandra 

  • Spidey

    Note that if there is an error in the file you're trying to load, XamlPad will silently ignore it and open up with a default XAML snippet. Also, I just gave it a try and I couldn't get it to write back to the original file - it always saves to the regular scratch file.

    Mmm... Maybe VS.NET automation might come to the rescue here...


  • XAMLPAD integration in VISUAL Studio 2005 Beta 2?