Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Using Xaml as an Addin model

 
 
Old 02-15-2006   #1 (permalink)
obiwanjacobi@hotmail.com


 
 

Using Xaml as an Addin model

Hi,

I'm currently investigating the possibilities for using Xaml as a UI
description language for application Add-In's. The idea is let an
Add-In supply a piece of Xaml that represents its UI so it can be
(tightly) integrated into the application UI. At some point the
application should compile the Xaml Xml into actual code. I found the
Xaml compiler (xamlc.exe) that comes with the sdk but I was wondering
if there is a different approach than calling another process and
having to do file based IO?

Thanx,
Marc Jacobi


My System SpecsSystem Spec
Old 02-15-2006   #2 (permalink)
Rob Relyea [MSFT]


 
 

Re: Using Xaml as an Addin model

Marc-
The only public exposure of XAML compilation is through some msbuild tasks
in PresentationBuildTasks.dll.
Using MsBuild APIs, you could invoke those tasks and build new assemblies
that included compiled xaml.

Other options is to make the xaml files totally declarative, and not require
markup compilation.
Using custom controls instead of Page level code can help there.

It really depends on how open ended you want these "Addins" to be.
Thx, Rob Relyea
PM, WPF
http://longhornblogs.com/rrelyea


<obiwanjacobi@hotmail.com> wrote in message
news:1140007247.268496.223130@g47g2000cwa.googlegroups.com...
> Hi,
>
> I'm currently investigating the possibilities for using Xaml as a UI
> description language for application Add-In's. The idea is let an
> Add-In supply a piece of Xaml that represents its UI so it can be
> (tightly) integrated into the application UI. At some point the
> application should compile the Xaml Xml into actual code. I found the
> Xaml compiler (xamlc.exe) that comes with the sdk but I was wondering
> if there is a different approach than calling another process and
> having to do file based IO?
>
> Thanx,
> Marc Jacobi
>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Is it possible to include XAML files into another XAML file? .NET General
Addin a ext. SATA portable drive Vista General
PowerShellLanguage reflector addin PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46