Gaston Milano's WebLog

About something...
Xaml Viewer for Whidbey

At this time I suppose you know about the CTP for Avalon but may be you didn't install it yet. I have installed the CTP without problems, my installation order was:

- Whidbey beta 1 (this install framework 2.0 beta)

- Windows SP 2 ( because it is required by the CTP)

- Avalon CTP

After install you should go to Chris Anderson blog and check for cool samples.

Chris Anderson point to a tool XamlPad in order to edit and test xaml, I really like it but obviously I'm a VS man so I wanna edit my xaml files in VS (with intellisense, syntax error check, etc the XML editor in VS is really cool) and more I wanna have a viewer for my xaml file in VS.

So I started developing a Xaml Viewer for VS, it is an interesting sample because I had to use XAML controls in Windows Forms, use VSIP for Whidbey, automation, etc. I gotta post something about this later.

Now I gotta post just my first night of work ;)

Features:

- Right click in xaml files to call to the viewer.

- Switch from viewer to associated file

- Show errors in output window and task list, so you can go to the line with double click.

- Call the viewer directly from View\Other Windows\Xaml Viewer

- Text to Xaml, sometimes I need to transform just a text fragment, so you can paste the text in the text view and refresh the viewer in order to see the result.

Here some screen shots:

This sample is in Chris Anderson blog

 

Installation:

Download msi  

After install the msi run: devenv /setup in the Whidbey command prompt.

Obviously you need CTP installed in order to go.                   

 

Posted: Wednesday, November 24, 2004 1:12 AM by GMilano with 15 comment(s)

Filed under: , ,

Comments

# re: Xaml Viewer for Whidbey @Wednesday, November 24, 2004 3:30 AM

Nice work there Gaston!

William Luu

# re: Xaml Viewer for Whidbey @Wednesday, November 24, 2004 8:24 AM

Thumbs up!

RebelGeekz

# re: Xaml Viewer for Whidbey @Wednesday, November 24, 2004 8:31 AM

Tried this with VC# Express and VB Express without luck. (That is what is on my laptop.)

Crash during msi execution:
An unhandled win32 exception occurred in dexplore.exe [2792].

Otherwise setup seemed fine.

Instead of devenv /setup, I ran VBExpress /setup and VCSExpress /setup.

Launched VCSExpress, didn't see the option to turn on that viewer.

Are the express skus missing the extensibility that this requires or does your setup need to do something slightly differently for the express skus?

This looks great...would love to try it!

Thanks, Rob

Rob Relyea

# re: Xaml Viewer for Whidbey @Wednesday, November 24, 2004 8:36 AM

Rob,
Sorry but VSIP extensibility is missing for express versions. Standard or Professional is needed.

Sorry for inconveniences.
Regards,
Gaston

Gaston

# XAML Viewer for Whidbey @Wednesday, November 24, 2004 8:42 AM

TrackBack

# re: Xaml Viewer for Whidbey @Wednesday, November 24, 2004 8:45 AM

Ok. I guess I'll buy the real VS... :-)
Thanks, Rob

Rob Relyea

# Un visualizzatore grafico di codice XAML @Wednesday, November 24, 2004 12:46 PM

TrackBack

# re: Xaml Viewer for Whidbey @Wednesday, November 24, 2004 5:37 PM

Hi Gaston,

Do you have similar viewer for VS running on Longhorn? Thanks!

gani

# re: Xaml Viewer for Whidbey @Wednesday, November 24, 2004 7:02 PM

Gaston-
I've got this running now.

Please give me your email address via this form: http://www.longhornblogs.com/rrelyea/contact.aspx

I've noticed a few problems:
1) sizing of the preview page seems very small. I can't make it get bigger.
2) errors are being raised for things that are ok. For example, x:Class, is valid. The markup compiler can handle that, the parser can't.

I'd like to work through them with you.

We need to fail gracefully...and we should discuss how it could be done...

Thanks, Rob

Rob Relyea

# re: Xaml Viewer for Whidbey @Wednesday, November 24, 2004 9:11 PM

gani,

I don't know if VSIP SDK can be installed in Longhorn if you can then it seems easy to port this viewer for Whidbey running over Longhorn

Regards,
Gaston

GMilano

# re: Xaml Viewer for Whidbey @Thursday, November 25, 2004 1:51 AM

Thanks it look great. I have the same problem as Rob, sizing of the preview page seems very small. I can't make it get bigger. Is there some way to resize the preview to the correct size?
Regards,
Jose

Jose

# XAML Viewer for Whidbey @Thursday, November 25, 2004 6:57 AM

XAML Viewer for Whidbey

TrackBack

# XAML viewer for Whidbey @Tuesday, November 30, 2004 7:41 AM

TrackBack

# XAML viewer for Whidbey @Sunday, March 27, 2005 6:40 PM

  http://weblogs.asp.net/gmilano/archive/2004/11/24/269082.aspx   Created with Microsoft Office OneNote...

TrackBack

# re: Xaml Viewer for Whidbey @Saturday, June 16, 2007 7:16 AM

I can't download the MSI . I got Page not found

Aravind

Leave a Comment

(required) 
(required) 
(optional)
(required)