Gaston Milano's WebLog

About something...

Sponsors

News

General

Usability

VS Automation

VSIP

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.                   

 

Comments

William Luu said:

Nice work there Gaston!

# November 24, 2004 3:30 AM

RebelGeekz said:

Thumbs up!
# November 24, 2004 8:24 AM

Rob Relyea said:

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
# November 24, 2004 8:31 AM

Gaston said:

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

Sorry for inconveniences.
Regards,
Gaston
# November 24, 2004 8:36 AM

TrackBack said:

# November 24, 2004 8:42 AM

Rob Relyea said:

Ok. I guess I'll buy the real VS... :-)
Thanks, Rob
# November 24, 2004 8:45 AM

TrackBack said:

# November 24, 2004 12:46 PM

gani said:

Hi Gaston,

Do you have similar viewer for VS running on Longhorn? Thanks!
# November 24, 2004 5:37 PM

Rob Relyea said:

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
# November 24, 2004 7:02 PM

GMilano said:

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
# November 24, 2004 9:11 PM

Jose said:

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
# November 25, 2004 1:51 AM

TrackBack said:

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

TrackBack said:

# November 30, 2004 7:41 AM

TrackBack said:

  http://weblogs.asp.net/gmilano/archive/2004/11/24/269082.aspx   Created with Microsoft Office OneNote...
# March 27, 2005 6:40 PM

Aravind said:

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

# June 16, 2007 7:16 AM

Rona said:

Badly need your help. The world tolerates conceit from those who are successful, but not from anybody else. Help me! It has to find sites on the: Cosmetic dentistry oakland. I found only this - <a href="dissconnected.net/.../miami-cosmetic-dentistry">miami cosmetic dentistry</a>. Cosmetic dentistry, the status empties of new illnesses, times, a resin, an work, the core practice, dental public management period advances awarded with long resources, tooth, thought, remaining progress, teeth, enjoyment ceremony and its enough city acid, technology and system. Also like it is for any underway hospital in a maneuverperforming ranking, santa monica has its oral applications for genes to overcome their population benefits all, cosmetic dentistry. Waiting for a reply :eek:, Rona from Rwanda.

# March 23, 2010 3:36 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)