Consider app extensions executable projects.
This commit is contained in:
Родитель
fb638a1b2b
Коммит
db2468ef1c
|
@ -12,7 +12,7 @@
|
|||
|
||||
<!-- Set the default TargetPlatformVersion if it wasn't specified in the TargetFramework variable. This must be set after importing Sdk.targets (in Xamarin.Shared.Sdk.targets) -->
|
||||
<PropertyGroup>
|
||||
<TargetPlatformVersion Condition="'$(TargetPlatformVersion)' == '' And '$(OutputType)' == 'Exe'">$(_XamarinTargetPlatformVersionExecutable)</TargetPlatformVersion>
|
||||
<TargetPlatformVersion Condition="'$(TargetPlatformVersion)' == '' And '$(OutputType)' != 'Exe'">$(_XamarinTargetPlatformVersionLibrary)</TargetPlatformVersion>
|
||||
<TargetPlatformVersion Condition="'$(TargetPlatformVersion)' == '' And ('$(OutputType)' == 'Exe' Or '$(IsAppExtension)' == 'true')">$(_XamarinTargetPlatformVersionExecutable)</TargetPlatformVersion>
|
||||
<TargetPlatformVersion Condition="'$(TargetPlatformVersion)' == ''">$(_XamarinTargetPlatformVersionLibrary)</TargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче