#39033·maui

Error building iOS app from Windows using dotnet publish after updating to workload 10.0.401.1

Author: ajohnstone-ksCreated Sep 30, 2026Updated Sep 30, 2026
Labelst/bugarea-toolingplatform/ios

Description

Using dotnet publish from a Windows build agent to remote build an iOS app is no longer working after updating from workload version 10.0.200 to version 10.0.401.1.

The build seems to work correctly on the mac side as I see the task CopyArchiveFromMac listed, a few tasks later though I get an error.

This was working previously with the same code, the only change was updating the workload and changing to a mac that supports Xcode 27. Using the 10.0.200 workload against a mac with Xcode 26.2 works.

Steps to Reproduce

  1. Get the following repo; its a Maui project created new in VS2026 most current version
  2. On Windows ensure the installed workload is 10.0.401.1
  3. On the Mac install the latest .Net 10 sdk install workload 10.0.401.1. also the other requirements for remote building
  4. Set your codesignkey
  5. dotnet publish .\MauiApp1.csproj -c Release -f net10.0-ios -m -p:AssemblyVersion="2.41.0.11" -p:FileVersion="2.41.0.11" -p:Version="2.41.0" -p:CodesignProvision="XXXX" -p:ApplicationVersion="33985.11" -p:ApplicationDisplayVersion="2.41.33985" -p:ServerAddress="mac-mini" -p:ServerUser=XXXX -p:ServerPassword="******" -p:DotNetRuntimePath="/usr/local/share/dotnet/dotnet" at the VS 2026 Developer Command Prompt.

Link to public reproduction project repository

https://github.com/ajohnstone-ks/DotnetPublishIosError

Version with bug

10.0.401.1

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

10.0.200

Affected platforms

iOS

Affected platform versions

ios 27

Did you find any workaround?

No, this is blocking using Xcode 27

Relevant log output

bash
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net10.0_27.0\27.0.10722\tools\msbuild\Xamarin.Shared.targets(3642,3): warning
      [xma][err]: An exception occurred in the task 'ReadAppManifest'
      exception: An error occurred on client Build18111529654 while executing a reply for topic xvs/build/18.11.15.29654
      /execute-task/{AppName}/31ca18b002fReadAppManifest
      Value cannot be null. (Parameter 'Value cannot be null. (Parameter 'path2')')

    C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net10.0_27.0\27.0.10722\tools\msbuild\Xamarin.Shared.targets(3642,3): warning
      An error occurred on client Build18111529654 while executing a reply for topic xvs/build/18.11.15.29654/execute-ta
      sk/{AppName}/31ca18b002fReadAppManifest
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
      --- End of stack trace from previous location ---
         at Xamarin.Messaging.Client.MessagingClient.PostAsync[TRequest,TResponse](TRequest message, String topic, Messa
      gePriority priority, CancellationToken cancellationToken, Boolean retain, Int32 timeoutSecs)
         at Xamarin.Messaging.Ssh.MessagingRunnerPro.ExecuteWithRetryAsync[TResult](Func`1 executeDelegate, IMessagingAn
      alyticsAction analytics, Int32 attempts)
         at Xamarin.Messaging.Ssh.MessagingRunnerPro.ThrowIfConnected(ExceptionDispatchInfo exceptionInfo, IMessagingAna
      lyticsAction analytics)
         at Xamarin.Messaging.Ssh.MessagingRunnerPro.HandleExceptionAsync[TResult](ExceptionDispatchInfo exceptionInfo,
      Func`1 reentrancyDelegate, IMessagingAnalyticsAction analytics, Int32 attempts)
         at Xamarin.Messaging.Ssh.MessagingRunnerPro.ExecuteWithRetryAsync[TResult](Func`1 executeDelegate, IMessagingAn
      alyticsAction analytics, Int32 attempts)
         at Xamarin.Messaging.Ssh.MessagingRunnerPro.ExecuteWithRetryAsync[TResult](Func`1 executeDelegate, Int32 attemp
      ts)
         at Xamarin.Messaging.Ssh.MessagingClientPro.PostAsync[TMessage,TResult](TMessage request, CancellationToken can
      cellationToken, Boolean retain, Int32 timeoutSecs)
         at Xamarin.Messaging.Build.Client.BuildClient.RunMessagingAsync[TMessage,TResult](TMessage message, Int32 timeo
      utSecs)
         at Xamarin.Messaging.Build.Client.BuildClient.ExecuteTaskAsync(String task, String inputs)
         at Xamarin.Messaging.Build.Client.TaskRunner.RunAsync(Task task)
    C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net10.0_27.0\27.0.10722\tools\msbuild\Xamarin.Shared.targets(3642,3): error
      MessagingRemoteException: An error occurred on client Build18111529654 while executing a reply for topic xvs/build
      /18.11.15.29654/execute-task/{AppName}/31ca18b002fReadAppManifest
      ArgumentNullException: Value cannot be null. (Parameter 'Value cannot be null. (Parameter 'path2')')