maui-linux/.nuspec/Xamarin.Forms.Debug.targets

24 строки
836 B
XML

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<XFKeepXamlResources>True</XFKeepXamlResources>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)Xamarin.Forms.targets" />
<UsingTask TaskName="Xamarin.Forms.Build.Tasks.DebugXamlCTask" AssemblyFile="$(_XFBuildTasksLocation)Xamarin.Forms.Build.Tasks.dll" />
<PropertyGroup>
<CompileDependsOn>
$(CompileDependsOn);
GenerateDebugCode;
</CompileDependsOn>
</PropertyGroup>
<!-- duplicate legacy InitializeComponent, create a ctor with bool param -->
<Target Name="GenerateDebugCode" AfterTargets="AfterCompile">
<DebugXamlCTask
Assembly = "$(IntermediateOutputPath)$(TargetFileName)"
ReferencePath = "@(ReferencePath)"
DebugSymbols = "$(DebugSymbols)"
DebugType = "$(DebugType)"/>
</Target>
</Project>