зеркало из https://github.com/DeGsoft/maui-linux.git
[XamlC] Disable XamlC on non-Release builds (#1087)
This commit is contained in:
Родитель
d2d7176cc5
Коммит
a30e2435c8
|
@ -1,6 +1,7 @@
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MauiKeepXamlResources>True</MauiKeepXamlResources>
|
||||
<_MauiForceXamlCForDebug>True</_MauiForceXamlCForDebug>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(MSBuildThisFileDirectory)Microsoft.Maui.Controls.targets" />
|
||||
|
|
|
@ -120,6 +120,7 @@
|
|||
Condition=" '$(DesignTimeBuild)' != 'True' AND '@(MauiXaml)' != ''">
|
||||
<PropertyGroup>
|
||||
<_MauiXamlCValidateOnly>$(MauiXamlCValidateOnly)</_MauiXamlCValidateOnly>
|
||||
<_MauiXamlCValidateOnly Condition="'$(Configuration)' != 'Release' AND '$(_MauiForceXamlCForDebug)' != 'True'">True</_MauiXamlCValidateOnly>
|
||||
<_MauiXamlCValidateOnly Condition="'$(BuildingForLiveUnitTesting)' == 'True' ">True</_MauiXamlCValidateOnly>
|
||||
</PropertyGroup>
|
||||
<XamlCTask
|
||||
|
|
Загрузка…
Ссылка в новой задаче