[dotnet] Fix MSBuild syntax. (#10055)
For some reason .NET 6 does not like spaces in certain places: MSB4259: Unexpected space at position "32" of condition [...] So just remove them.
This commit is contained in:
Родитель
06cd5722cc
Коммит
8b76cf4735
|
@ -97,7 +97,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<!-- App extensions are self-contained, even though their OutputType=Library -->
|
||||
<SelfContained Condition="'$(SelfContained)' == '' And $(_ProjectType.EndsWith ('AppExtensionProject'))">true</SelfContained>
|
||||
<SelfContained Condition="'$(SelfContained)' == '' And $(_ProjectType.EndsWith('AppExtensionProject'))">true</SelfContained>
|
||||
|
||||
<!-- Add a property that specifies the name of the platform assembly for each platform -->
|
||||
<_PlatformAssemblyName Condition=" '$(_PlatformName)' == 'iOS' ">Xamarin.iOS</_PlatformAssemblyName>
|
||||
|
@ -691,6 +691,6 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<!-- PublishTrimmed depends on IsMacEnabled, which is defined in the Xamarin.iOS/Xamarin.Mac targets files we import just above here -->
|
||||
<PublishTrimmed Condition="'$(PublishTrimmed)' == '' And ($(_ProjectType.EndsWith ('ExecutableProject')) Or $(_ProjectType.EndsWith ('AppExtensionProject'))) And '$(IsMacEnabled)' == 'true'">true</PublishTrimmed>
|
||||
<PublishTrimmed Condition="'$(PublishTrimmed)' == '' And ($(_ProjectType.EndsWith('ExecutableProject')) Or $(_ProjectType.EndsWith('AppExtensionProject'))) And '$(IsMacEnabled)' == 'true'">true</PublishTrimmed>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
|
@ -181,7 +181,7 @@ Copyright (C) 2020 Microsoft. All rights reserved.
|
|||
handle this by calculating the corresponding relative path for
|
||||
DeviceSpecificOutputPath. -->
|
||||
<DeviceSpecificOutputPath>$(OutputPath)</DeviceSpecificOutputPath>
|
||||
<DeviceSpecificOutputPath Condition="$([System.IO.Path]::IsPathRooted ('$(DeviceSpecificOutputPath)')) == 'true'">$([MSBuild]::MakeRelative ('$(MSBuildProjectDirectory)','$(OutputPath)'))</DeviceSpecificOutputPath>
|
||||
<DeviceSpecificOutputPath Condition="$([System.IO.Path]::IsPathRooted('$(DeviceSpecificOutputPath)')) == 'true'">$([MSBuild]::MakeRelative ('$(MSBuildProjectDirectory)','$(OutputPath)'))</DeviceSpecificOutputPath>
|
||||
|
||||
<!-- OptimizePNGs:
|
||||
default to false if a binding project (both XI and XM)
|
||||
|
|
Загрузка…
Ссылка в новой задаче