Compiled XAML(BAML) test
tools
- http://www.atmarkit.co.jp/fdotnet/basics/xaml01/xaml01_02.html
- http://www.atmarkit.co.jp/fdotnet/dotnettips/808bamlviewer/bamlviewer.html
- http://msdn.microsoft.com/ja-jp/netframework/default.aspx
- http://www.red-gate.com/products/reflector/
- http://www.codeplex.com/reflectoraddins/Wiki/View.aspx?title=BamlViewer
win.xaml
<?xml version="1.0" encoding="utf-8"?> <Window Title="My First XAML" Width="320" Height="240" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> Hello World </Window>
app.xaml
<?xml version="1.0" encoding="utf-8"?> <Application StartupUri="win.xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"/>
hello.proj
<?xml version="1.0" encoding="utf-8"?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <AssemblyName>HelloWorld</AssemblyName> <OutputType>winexe</OutputType> <OutputPath>.\</OutputPath> </PropertyGroup> <ItemGroup> <ApplicationDefinition Include="app.xaml"/> <Page Include="win.xaml"/> <Reference Include="System"/> <Reference Include="WindowsBase"/> <Reference Include="PresentationCore"/> <Reference Include="PresentationFramework"/> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets"/> <Import Project="$(MSBuildBinPath)\Microsoft.WinFX.targets"/> </Project>
wpf.bat
@echo off setlocal %windir%\Microsoft.NET\Framework\v3.5\MSBuild hello.proj endlocal echo on