[dotnet] There's no need to compute the publish location if we're not building a (publishable) app
This commit is contained in:
Родитель
3b187b4075
Коммит
94b1536ba8
|
@ -1153,7 +1153,10 @@
|
|||
</_ComputeLinkModeDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="_ComputePublishLocation" DependsOnTargets="_GenerateBundleName;_ParseBundlerArguments;_ComputeMonoLibraries">
|
||||
<Target Name="_ComputePublishLocation"
|
||||
DependsOnTargets="_GenerateBundleName;_ParseBundlerArguments;_ComputeMonoLibraries"
|
||||
Condition="'$(_CanOutputAppBundle)' == 'true'"
|
||||
>
|
||||
<PropertyGroup>
|
||||
<_AssemblyPublishDir Condition="'$(_PlatformName)' == 'iOS' Or '$(_PlatformName)' == 'tvOS' Or '$(_PlatformName)' == 'watchOS'">$(_RelativeAppBundlePath)\</_AssemblyPublishDir>
|
||||
<_AssemblyPublishDir Condition="'$(_PlatformName)' == 'macOS' Or '$(_PlatformName)' == 'MacCatalyst'">$(_RelativeAppBundlePath)\Contents\$(_CustomBundleName)\</_AssemblyPublishDir>
|
||||
|
|
Загрузка…
Ссылка в новой задаче