1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <UsingTask TaskName="Tizen.NUI.Xaml.Build.Tasks.NUIXamlGTask" AssemblyFile="$(MSBuildThisFileDirectory)Tizen.NUI.XamlBuild.dll" />
3 <UsingTask TaskName="Tizen.NUI.Xaml.Build.Tasks.NUIXamlCTask" AssemblyFile="$(MSBuildThisFileDirectory)Tizen.NUI.XamlBuild.dll" />
6 <Target Name="UpdateDesignTimeXaml" DependsOnTargets="XamlG"/>
11 $(CoreCompileDependsOn);
12 </CoreCompileDependsOn>
15 <Target Name="_FindXamlGFiles" DependsOnTargets="PrepareResourceNames">
17 <_XamlGInputs Include="@(EmbeddedResource)" Condition="'%(Extension)' == '.xaml' AND '$(DefaultLanguageSourceExtension)' == '.cs' AND '%(TargetPath)' != ''" />
18 <_XamlGOutputs Include="@(_XamlGInputs->'$(IntermediateOutputPath)%(TargetPath).g.cs')" />
22 <Target Name="XamlG" BeforeTargets="BeforeCompile" DependsOnTargets="_FindXamlGFiles; PrepareResourceNames; AfterResolveReferences" Inputs="@(_XamlGInputs)" Outputs="@(_XamlGOutputs)">
24 XamlFiles="@(_XamlGInputs)"
25 OutputFiles="@(_XamlGOutputs)"
26 Language="$(Language)"
27 AssemblyName="$(AssemblyName)"
28 ReferencePath="@(ReferencePath)"
29 XamlOptimization="$(XamlOptimization)"
30 AddXamlCompilationAttribute="True" />
32 <FileWrites Include="@(_XamlGOutputs)" />
33 <Compile Include="@(_XamlGOutputs)" />
45 <Target Name="XamlC" AfterTargets="AfterCompile" Inputs="$(IntermediateOutputPath)$(TargetFileName)" Outputs="$(IntermediateOutputPath)XamlC.stamp" >
47 Assembly = "$(IntermediateOutputPath)$(TargetFileName)"
48 ReferencePath = "@(ReferencePath)"
50 DebugSymbols = "$(DebugSymbols)"
51 DebugType = "$(DebugType)"
52 NeedDebug = "$(NeedDebug)"
53 UseInjection = "$(NeedInjection)"
54 XamlOptimization="$(XamlOptimization)"
55 KeepXamlResources = "$(XFKeepXamlResources)" />
56 <Touch Files="$(IntermediateOutputPath)XamlC.stamp" AlwaysCreate="True" />
58 <FileWrites Include="$(IntermediateOutputPath)XamlC.stamp" />