diff --git a/msbuild/Directory.Build.props b/msbuild/Directory.Build.props index 7c25c4db49a7..93a0e7c97cca 100644 --- a/msbuild/Directory.Build.props +++ b/msbuild/Directory.Build.props @@ -1,6 +1,6 @@ 1.3.27 - 1.0.69 + 1.0.70 diff --git a/msbuild/Xamarin.iOS.Tasks.Windows/Tasks/CompileAppManifest.cs b/msbuild/Xamarin.iOS.Tasks.Windows/Tasks/CompileAppManifest.cs index 967b5a6ae0d8..ac2901d578cd 100644 --- a/msbuild/Xamarin.iOS.Tasks.Windows/Tasks/CompileAppManifest.cs +++ b/msbuild/Xamarin.iOS.Tasks.Windows/Tasks/CompileAppManifest.cs @@ -31,6 +31,8 @@ public class CompileAppManifest : Task [Required] public string AppManifestPath { get; set; } + public string ApplicationTitle { get; set; } + #endregion public override bool Execute() @@ -60,6 +62,10 @@ public override bool Execute() } } + if (!string.IsNullOrEmpty (ApplicationTitle)) { + preBuiltInfoPlist[ManifestKeys.CFBundleDisplayName] = ApplicationTitle; + } + preBuiltInfoPlist.Save(preBuiltInfoPlistPath, binary: true); return true; diff --git a/msbuild/Xamarin.iOS.Tasks.Windows/Xamarin.iOS.HotRestart.targets b/msbuild/Xamarin.iOS.Tasks.Windows/Xamarin.iOS.HotRestart.targets index 866a0cf8e5a8..5c82505fdbd4 100644 --- a/msbuild/Xamarin.iOS.Tasks.Windows/Xamarin.iOS.HotRestart.targets +++ b/msbuild/Xamarin.iOS.Tasks.Windows/Xamarin.iOS.HotRestart.targets @@ -176,7 +176,8 @@ + AppManifestPath="$(_AppManifest)" + ApplicationTitle="$(ApplicationTitle)"/> + + <_HotRestartEntitlementsFile>$(CodesignEntitlements) + <_HotRestartEntitlementsFile Condition="'$(_HotRestartEntitlementsFile)'== ''">$(HotRestartAppBundlePath)\archived-expanded-entitlements.xcent + +