Created
April 13, 2016 11:19
-
-
Save Maarten-Wijnants/2971148499debbc254c398680a5b2ad2 to your computer and use it in GitHub Desktop.
Fix?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<UsingTask TaskName="Xamarin.Forms.Build.Tasks.XamlGTask" AssemblyFile="Xamarin.Forms.Build.Tasks.dll"/> | |
<UsingTask TaskName="Xamarin.Forms.Build.Tasks.FixedCreateCSharpManifestResourceName" AssemblyFile="Xamarin.Forms.Build.Tasks.dll"/> | |
<UsingTask TaskName="Xamarin.Forms.Build.Tasks.XamlCTask" AssemblyFile="Xamarin.Forms.Build.Tasks.dll"/> | |
<PropertyGroup> | |
<CompileDependsOn> | |
XamlG; | |
$(CompileDependsOn); | |
</CompileDependsOn> | |
</PropertyGroup> | |
<PropertyGroup> | |
<CompileDependsOn> | |
$(CompileDependsOn); | |
XamlC; | |
</CompileDependsOn> | |
</PropertyGroup> | |
<PropertyGroup> | |
<CoreCompileDependsOn Condition="'$(BuildingInsideVisualStudio)' == 'true' "> | |
DesignTimeMarkupCompilation; | |
$(CoreCompileDependsOn); | |
</CoreCompileDependsOn> | |
</PropertyGroup> | |
<Target Name="DesignTimeMarkupCompilation"> | |
<CallTarget Condition="'$(BuildingProject)' != 'true' Or $(DesignTimeBuild) == 'true'" Targets="XamlG" /> | |
</Target> | |
<Target Name="UpdateDesignTimeXaml" Condition="'$(UseHostCompilerIfAvailable)' == 'true'" DependsOnTargets="Compile"/> | |
<Target Name="XamlG" BeforeTargets="XamlPreCompile" DependsOnTargets="$(XamlGDependsOn)"/> | |
<PropertyGroup> | |
<XamlGDependsOn> | |
_PreXamlG; | |
_CollectXamlFiles; | |
_CoreXamlG; | |
</XamlGDependsOn> | |
</PropertyGroup> | |
<Target Name="_PreXamlG"> | |
<MakeDir Directories="$(IntermediateOutputPath)"/> | |
</Target> | |
<Target Name="_CollectXamlFiles"> | |
<ItemGroup> | |
<_XamlResources Include="@(EmbeddedResource)" Condition="'%(Extension)' == '.xaml' AND '$(DefaultLanguageSourceExtension)' == '.cs'"/> | |
</ItemGroup> | |
<FixedCreateCSharpManifestResourceName ResourceFiles="@(_XamlResources)" RootNamespace="$(RootNamespace)"> | |
<Output TaskParameter="ResourceFilesWithManifestResourceNames" ItemName="XamlFiles" /> | |
</FixedCreateCSharpManifestResourceName> | |
<ItemGroup> | |
<XamlGFiles Include="@(XamlFiles->'$(IntermediateOutputPath)%(ManifestResourceName).g$(DefaultLanguageSourceExtension)')"/> | |
<Compile Include="@(XamlGFiles)"/> | |
<FileWrites Include="@(XamlGFiles)"/> | |
</ItemGroup> | |
</Target> | |
<Target Name="_CoreXamlG" | |
Inputs = "@(XamlFiles)" | |
Outputs = "$(IntermediateOutputPath)%(ManifestResourceName).g$(DefaultLanguageSourceExtension)"> | |
<XamlGTask | |
Source="@(XamlFiles)" | |
Language = "$(Language)" | |
AssemblyName = "$(AssemblyName)" | |
OutputFile = "$(IntermediateOutputPath)%(ManifestResourceName).g$(DefaultLanguageSourceExtension)"> | |
</XamlGTask> | |
</Target> | |
<Target Name="XamlC"> | |
<XamlCTask | |
Assembly = "$(IntermediateOutputPath)$(TargetFileName)" | |
ReferencePath = "@(ReferencePath)" | |
Verbosity = "2" | |
OptimizeIL = "true" | |
DebugSymbols = "$(DebugSymbols)" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment