maui: [BUG] Can not debug MacCatalyst app when CodeSigning is enabled

Description

I am trying to use NFC in a MacCatalyst app using MAUI. I run into problems when trying to use code signing for the project.

When setting the .csproj property <EnableCodeSigning>true</EnableCodeSigning> in a MacCatalyst project, Visual studio for Mac will return the error: System.Exception: Could not open NFCTest.app: pid returned -1.

Cleaning/Building seems to succeed, removing bin/obj folders does not help. Only solution is to remove the line in the .csproj and retry a few times, until it works again.

Steps to Reproduce

Run the reproduction repo project. Might also work right away with a file new maui.

Link to public reproduction project repository

https://github.com/ramonB1996/NFCTest

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

MacOS 13.1.2054/7.0.100, MAUI-maccatalyst 7.0.81/7.0.100

Did you find any workaround?

Remove <EnableCodeSigning>true</EnableCodeSigning> from .csproj and rebuilding seems to solve the issue most of the time. Did not find a workaround to get it to work with it enabled.

Relevant log output

INFO [2023-04-25 08:33:20Z]: Creating service: MonoDevelop.Ide.IdeCore
INFO [2023-04-25 08:33:20Z]: Service MonoDevelop.Ide.IdeCore initialized in 1 ms.
INFO [2023-04-25 08:33:20Z]: Starting Visual Studio 2022 for Mac 17.5.4 (build 8)
INFO [2023-04-25 08:33:20Z]: Build Information
Release ID: 1705040008
Git revision: 9a2f0e1a7e2107e6b1174c241a1ca232cde57c49
Build date: 2023-04-05 15:56:57+00
Build branch: release-17.5

INFO [2023-04-25 08:33:20Z]: Running on .NET 7.0.1 (64-bit)
INFO [2023-04-25 08:33:20Z]: Operating System: Mac OS X 13.3.1
Darwin 22.4.0 Darwin Kernel Version 22.4.0
    Mon Mar  6 21:00:41 PST 2023
    root:xnu-8796.101.5~3/RELEASE_ARM64_T8103 arm64
INFO [2023-04-25 08:33:20Z]: Running 22bde6c8-af6e-44b3-8e16-a56132e18a3f
INFO [2023-04-25 08:33:20Z]: Health monitor process discovered at `/Applications/Visual Studio.app/Contents/SharedSupport/VSMonitor.app/Contents/MacOS/VSMonitor`
INFO [2023-04-25 08:33:20Z]: Starting health monitor
INFO [2023-04-25 08:33:20Z]: Add-in loaded: MonoDevelop.Core
INFO [2023-04-25 08:33:20Z]: Add-in loaded: MonoDevelop.Ide
INFO [2023-04-25 08:33:20Z]: Add-in loaded: Microsoft.VisualStudio
INFO [2023-04-25 08:33:21Z]: Initializing Runtime NetCore .NET 7.0.1
INFO [2023-04-25 08:33:21Z]: [0 (+0)] Finding custom frameworks
INFO [2023-04-25 08:33:21Z]: [0 (+0)] Creating frameworks
INFO [2023-04-25 08:33:21Z]: [2 (+2)] Initializing frameworks
INFO [2023-04-25 08:33:21Z]: [2 (+0)] END: Target runtimes loaded
INFO [2023-04-25 08:33:21Z]: Registering feature IdeBuildOutputView (Enable structured build output UI = False)
INFO [2023-04-25 08:33:21Z]: Registering feature RUNTIME_SELECTOR (Enable runtime selection on UI = False)
INFO [2023-04-25 08:33:21Z]: Registering feature EnableDotNetHotReload (Enable .NET Hot Reload = False)
INFO [2023-04-25 08:33:21Z]: Registering feature EnableVersionControlTracing (Enable VersionControl tracing output = False)
INFO [2023-04-25 08:33:21Z]: Registering feature PerfWatsonDiagnostics (Enable additional performance diagnostics options = False)
INFO [2023-04-25 08:33:21Z]: Registering feature ReliabilityDiagnostics (Enable additional reliability diagnostics options = False)
INFO [2023-04-25 08:33:21Z]: Registering feature VSCODE_DEBUG_PROTOCOL_LOGGING (Enable VSCode Debug Adapter Protocol Logging = False)
INFO [2023-04-25 08:33:21Z]: Registering feature VBNetDotnetCoreTemplates (Enable VB.NET support for .NET Core = False)
INFO [2023-04-25 08:33:21Z]: Registering feature DotNetWorkload (Enable dotnet workload support for .NET = True)
INFO [2023-04-25 08:33:21Z]: Registering feature JAVASCRIPT_DEBUGGER_VERBOSE_LOGGING (Enable verbose logging for the JavaScript debugger = False)
INFO [2023-04-25 08:33:21Z]: Registering feature Razor.LSP.Editor (Enables the Razor LSP editor for ASP.NET Core scenarios = False)
INFO [2023-04-25 08:33:21Z]: Registering feature WebTools.LSP.Editor (Enables the HTML and CSS LSP editors = False)
INFO [2023-04-25 08:33:21Z]: Registering feature AspNetCoreGRPCTemplates (Enable gRPC template = True)
INFO [2023-04-25 08:33:21Z]: Registering feature AzureFunctionsEnablePrereleases (Support pre-release Azure Functions CLI and project templates in the New Project dialog = False)
INFO [2023-04-25 08:33:21Z]: Found the System.Runtime EventSource
INFO [2023-04-25 08:33:21Z]: Creating service: MonoDevelop.Components.Commands.CommandManager
INFO [2023-04-25 08:33:21Z]: Add-in loaded: Microsoft.VisualStudioMac.Authorization
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.ConnectedServices
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.DesignerSupport
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.TextEditor
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.RegexToolkit
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.Refactoring
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.PackageManagement
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.UnitTesting
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.Debugger
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.Debugger.VsCodeDebugProtocol
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.CSharpBinding
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.DotNetCore
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.PerformanceDiagnostics
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.Xamarin.Ide
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.Debugger.Soft
INFO [2023-04-25 08:33:21Z]: Add-in loaded: MonoDevelop.Unity
2023-04-25 08:33:22.014 VisualStudio[2489:33823] Could not register the assembly 'MonoDevelop.Debugger': System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'Microsoft.VisualStudio.Debugger.UI.Interfaces, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.Assembly.GetTypes()
   at Registrar.DynamicRegistrar.CollectTypes(Assembly assembly) in /Library/Frameworks/Xamarin.Mac.framework/Versions/8.13.0.568/src/Xamarin.Mac/ObjCRuntime/DynamicRegistrar.cs:line 220
   at Registrar.Registrar.RegisterAssembly(Assembly assembly) in /Library/Frameworks/Xamarin.Mac.framework/Versions/8.13.0.568/src/Xamarin.Mac/ObjCRuntime/Registrar.cs:line 2498
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Debugger.UI.Interfaces, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

File name: 'Microsoft.VisualStudio.Debugger.UI.Interfaces, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Xamarin.Designer
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Xamarin.Android.Deploy
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Xamarin.Ide.Mac
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Xamarin.Addins.Core
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Xml
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.MonoAndroid
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Xamarin.AndroidDesigner
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Microsoft.VisualStudio.Mac.RazorAddin
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.TextTemplating
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.AspNet
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Microsoft.VisualStudio.WebTools.WebEditors
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.MacPlatform
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Xamarin.Ide.Identity
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Microsoft.JavaScript.Debugger
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.AspNetCore
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Xamarin.AzureSupport
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Docker
INFO [2023-04-25 08:33:22Z]: Found Xcode, version 14.3 (21812).
INFO [2023-04-25 08:33:22Z]: Found default cached entitlements
INFO [2023-04-25 08:33:22Z]: Found Xamarin.iOS, version 16.2.0.5.
WARNING [2023-04-25 08:33:22Z]: ANDROID: An exception occurred while validating the Java SDK installation in '/Library/Java/JavaVirtualMachines/temurin-1.jdk/Contents/Home' that was found while searching the paths from 'monodroid-config.xml'. Ensure that the Android section of the Visual Studio options has a valid Java SDK directory configured. To use a custom SDK path for a command line build, set the 'JavaSdkDirectory' MSBuild property to the custom path. Exception: Not a directory (Parameter 'homePath')
INFO [2023-04-25 08:33:22Z]:INFO [2023-04-25 08:33:22Z]: ANDROID: Found Xamarin.Android 13.2.0.0
 ANDROID: Found Xamarin.Android 13.2.0.0
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.DesignerSupport
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.TextEditor
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.RegexToolkit
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Refactoring
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.PackageManagement
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.UnitTesting
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.CSharpBinding
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Microsoft.VisualStudio.Mac.RazorAddin
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.TextTemplating
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.AspNet
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Microsoft.VisualStudioMac.Authorization
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.ConnectedServices
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Debugger
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Debugger.VsCodeDebugProtocol
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.DotNetCore
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.PerformanceDiagnostics
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Xamarin.Ide
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Microsoft.VisualStudio.WebTools.WebEditors
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.MacPlatform
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Xamarin.Ide.Identity
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Microsoft.JavaScript.Debugger
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.AspNetCore
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Xamarin.AzureSupport
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Xamarin.Addins.Core
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Debugger.Soft
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Xamarin.Ide.Mac
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.VersionControl
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.MacDev
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.MonoMac
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.IPhone
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.Xml
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.MonoAndroid
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.AssemblyBrowser
INFO [2023-04-25 08:33:22Z]: Add-in loaded: VisualFSharp
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.VersionControl.Git
INFO [2023-04-25 08:33:22Z]: Add-in loaded: Xamarin.Terminal.Xamarin.Terminal
INFO [2023-04-25 08:33:22Z]: Add-in loaded: MonoDevelop.AzureFunctions
INFO [2023-04-25 08:33:22Z]: Service MonoDevelop.Components.Commands.CommandManager initialized in 1781 ms.
INFO [2023-04-25 08:33:22Z]: Creating service: MonoDevelop.Ide.DesktopService
INFO [2023-04-25 08:33:22Z]: Service MonoDevelop.Ide.DesktopService initialized in 45 ms.
Starting Visual Studio
INFO [2023-04-25 08:33:23Z]: Found default cached entitlements
INFO [2023-04-25 08:33:23Z]: WelcomePageService >> HideWelcomePage:False HasWindowImplementation:True LaunchReason:Normal forceShow:False
INFO [2023-04-25 08:33:23Z]: Startup was Normal
INFO [2023-04-25 08:33:23Z]: Found Xamarin.Mac, version 9.1.0.5.
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Fonts.FontService
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.Fonts.FontService initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Tasks.TaskService
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.Tasks.TaskService initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.ProjectOperations
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.RootWorkspace
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Core.Scheduling.IOperationManager
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Core.Scheduling.IOperationManager initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.TextEditing.TextEditorService
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.TextEditing.TextEditorService initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Navigation.NavigationHistoryService
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.Navigation.NavigationHistoryService initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Gui.DisplayBindingService
INFO [2023-04-25 08:33:23Z]:INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Projects.HelpService
 Service MonoDevelop.Ide.Gui.DisplayBindingService initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Projects.HelpService initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.RootWorkspace initialized in 16 ms.
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Gui.Documents.DocumentManager
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.Gui.Documents.DocumentManager initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Gui.ProgressMonitorManager
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.Gui.ProgressMonitorManager initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.ProjectOperations initialized in 19 ms.
   Loading Workbench
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Gui.Workbench
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Gui.Documents.DocumentModelRegistry
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.Gui.Documents.DocumentModelRegistry initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Add-in loaded: Xamarin.Designer
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Gui.Documents.DocumentControllerService
INFO [2023-04-25 08:33:23Z]: Service MonoDevelop.Ide.Gui.Documents.DocumentControllerService initialized in 0 ms.
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Gui.Shell.IShell
INFO [2023-04-25 08:33:23Z]: Creating service: MonoDevelop.Ide.Composition.CompositionManager
INFO [2023-04-25 08:33:23Z]: Add-in loaded: Xamarin.FormsEditor
INFO [2023-04-25 08:33:23Z]: Add-in loaded: Xamarin.XamlLanguageService
INFO [2023-04-25 08:33:23Z]: Add-in loaded: Xamarin.HotReload
INFO [2023-04-25 08:33:23Z]: Add-in loaded: MonoDevelop.Unity
INFO [2023-04-25 08:33:23Z]: Add-in loaded: Xamarin.AndroidDesigner
INFO [2023-04-25 08:33:23Z]: Add-in loaded: Microsoft.VisualStudio.TypeScriptAddin.TypeScriptAddin

ERROR [2023-04-25 08:58:56Z]: The application “NFCTest” could not be launched because a miscellaneous error occurred.
ERROR [2023-04-25 08:58:56Z]: Debugger operation failed
System.Exception: Could not open /Users/ramon/Projects/NFCTest/NFCTest/bin/Debug/net7.0-maccatalyst/maccatalyst-x64/NFCTest.app: pid returned -1
   at Xamarin.ProjectSystem.Apple.Mac.MacExecutionService.OpenApplication(FilePath appDirectory, String arguments, IDictionary`2 envVariables, Action`1 stdout, Action`1 stderr) in /Users/runner/work/1/s/MonoDevelop.MacDev/MonoDevelop.MacDev/MacExecutionService.cs:line 66
   at Xamarin.ProjectSystem.Apple.Mobile.MacCatalystExecutionService.ExecuteApplication(IPhoneExecutionCommand command, ProcessEventHandler onOutput, ProcessEventHandler onError, EventHandler onExit) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/MacCatalystExecutionService.cs:line 33
   at MonoDevelop.Debugger.Soft.IPhone.IPhoneDebuggerSession.StartProcess(IPhoneExecutionCommand cmd) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.Debugger.Soft.IPhone/IPhoneDebuggerSession.cs:line 82
   at MonoDevelop.Debugger.Soft.IPhone.IPhoneDebuggerSession.OnRun(DebuggerStartInfo startInfo) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.Debugger.Soft.IPhone/IPhoneDebuggerSession.cs:line 62
   at Mono.Debugging.Client.DebuggerSession.<>c__DisplayClass156_0.<Run>b__0() in /Users/runner/work/1/s/main/external/debugger-libs/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:line 440
2023-04-25 08:58:59.950 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x2eb164600>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x60000461a820> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 08:58:59.950 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 08:58:59.950 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {0, 40}}
2023-04-25 08:58:59.950 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
%% Shoing
WARNING [2023-04-25 08:59:16Z]: Inline operation : MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_24:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1535 was postponed due to scheduling constraints not satisfied. This is probably unintended.
WARNING [2023-04-25 08:59:16Z]: Inline operation Getting referenced assemblies: MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_24:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1536 was postponed due to scheduling constraints not satisfied. This is probably unintended.
WARNING [2023-04-25 08:59:16Z]: Inline operation Getting referenced assemblies: MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_24:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1537 was postponed due to scheduling constraints not satisfied. This is probably unintended.
INFO [2023-04-25 08:59:16Z]: [2023-04-25 08:59:16.8] INFO: : Project reloaded
WARNING [2023-04-25 08:59:16Z]: Inline operation : MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_24:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1539 was postponed due to scheduling constraints not satisfied. This is probably unintended.
WARNING [2023-04-25 08:59:16Z]: Inline operation : MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_24:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1538 was postponed due to scheduling constraints not satisfied. This is probably unintended.
%% Not Visible 2
INFO [2023-04-25 08:59:18Z]: Starting to watch process with pid: 5626 and tag: Remote Build Engine
INFO [2023-04-25 08:59:18Z]: SendSuccessTelemetry on run 0
INFO [2023-04-25 08:59:18Z]: Starting to watch process with pid: 5628 and tag: Remote Build Engine
INFO [2023-04-25 08:59:18Z]: SendSuccessTelemetry on run 0
INFO [2023-04-25 08:59:20Z]: [iOS Debugger] Awaiting connection over WiFi to 127.0.0.1:46013
2023-04-25 08:59:20.076 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x15a259460>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x6000047fbb20> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 08:59:20.076 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 08:59:20.076 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {40, 0}}
2023-04-25 08:59:20.076 VisualStudio[2489:33823]     Arranged view frame: {{41, 0}, {40, 0}}
2023-04-25 08:59:20.076 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
2023-04-25 08:59:20.090 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x15a262ce0>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x6000047fdae0> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 08:59:20.090 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 08:59:20.090 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {0, 40}}
2023-04-25 08:59:20.090 VisualStudio[2489:33823]     Arranged view frame: {{0, 41}, {0, 211}}
2023-04-25 08:59:20.090 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
ERROR [2023-04-25 08:59:20Z]: The application “NFCTest” could not be launched because a miscellaneous error occurred.
ERROR [2023-04-25 08:59:20Z]: Debugger operation failed
System.Exception: Could not open /Users/ramon/Projects/NFCTest/NFCTest/bin/Debug/net7.0-maccatalyst/maccatalyst-x64/NFCTest.app: pid returned -1
   at Xamarin.ProjectSystem.Apple.Mac.MacExecutionService.OpenApplication(FilePath appDirectory, String arguments, IDictionary`2 envVariables, Action`1 stdout, Action`1 stderr) in /Users/runner/work/1/s/MonoDevelop.MacDev/MonoDevelop.MacDev/MacExecutionService.cs:line 66
   at Xamarin.ProjectSystem.Apple.Mobile.MacCatalystExecutionService.ExecuteApplication(IPhoneExecutionCommand command, ProcessEventHandler onOutput, ProcessEventHandler onError, EventHandler onExit) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/MacCatalystExecutionService.cs:line 33
   at MonoDevelop.Debugger.Soft.IPhone.IPhoneDebuggerSession.StartProcess(IPhoneExecutionCommand cmd) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.Debugger.Soft.IPhone/IPhoneDebuggerSession.cs:line 82
   at MonoDevelop.Debugger.Soft.IPhone.IPhoneDebuggerSession.OnRun(DebuggerStartInfo startInfo) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.Debugger.Soft.IPhone/IPhoneDebuggerSession.cs:line 62
   at Mono.Debugging.Client.DebuggerSession.<>c__DisplayClass156_0.<Run>b__0() in /Users/runner/work/1/s/main/external/debugger-libs/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:line 440
2023-04-25 08:59:24.033 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x410c33c00>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x6000047def20> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 08:59:24.033 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 08:59:24.033 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {0, 40}}
2023-04-25 08:59:24.033 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
ERROR [2023-04-25 09:00:18Z]: 
MonoDevelop.Core.Execution.RemoteProcessException: Not connected
   at MonoDevelop.Core.Execution.RemoteProcessConnection.PostMessage(BinaryMessage message, TaskCompletionSource`1 cs, Boolean checkInitialized) in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 461
   at MonoDevelop.Core.Execution.RemoteProcessConnection.SendMessage(BinaryMessage message) in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 405
   at MonoDevelop.Core.Execution.RemoteProcessConnection.Disconnect() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 212
%% Shoing
WARNING [2023-04-25 09:02:12Z]: Inline operation : MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_25:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1571 was postponed due to scheduling constraints not satisfied. This is probably unintended.
WARNING [2023-04-25 09:02:12Z]: Inline operation Getting referenced assemblies: MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_25:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1572 was postponed due to scheduling constraints not satisfied. This is probably unintended.
WARNING [2023-04-25 09:02:12Z]: Inline operation Getting referenced assemblies: MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_25:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1573 was postponed due to scheduling constraints not satisfied. This is probably unintended.
INFO [2023-04-25 09:02:12Z]: [2023-04-25 09:02:12.0] INFO: : Project reloaded
WARNING [2023-04-25 09:02:12Z]: Inline operation : MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_25:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1575 was postponed due to scheduling constraints not satisfied. This is probably unintended.
WARNING [2023-04-25 09:02:12Z]: Inline operation : MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_25:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1574 was postponed due to scheduling constraints not satisfied. This is probably unintended.
%% Not Visible 2
INFO [2023-04-25 09:02:14Z]: Starting to watch process with pid: 5855 and tag: Remote Build Engine
INFO [2023-04-25 09:02:14Z]: SendSuccessTelemetry on run 0
INFO [2023-04-25 09:02:14Z]: Starting to watch process with pid: 5859 and tag: Remote Build Engine
INFO [2023-04-25 09:02:14Z]: SendSuccessTelemetry on run 0
INFO [2023-04-25 09:02:16Z]: [iOS Debugger] Awaiting connection over WiFi to 127.0.0.1:27415
2023-04-25 09:02:16.173 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x410c55220>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x600004751920> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 09:02:16.173 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 09:02:16.173 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {40, 0}}
2023-04-25 09:02:16.173 VisualStudio[2489:33823]     Arranged view frame: {{41, 0}, {40, 0}}
2023-04-25 09:02:16.173 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
2023-04-25 09:02:16.188 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x410cec4d0>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x6000047b6380> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 09:02:16.188 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 09:02:16.188 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {0, 40}}
2023-04-25 09:02:16.188 VisualStudio[2489:33823]     Arranged view frame: {{0, 41}, {0, 211}}
2023-04-25 09:02:16.188 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
ERROR [2023-04-25 09:02:16Z]: The application “NFCTest” could not be launched because a miscellaneous error occurred.
ERROR [2023-04-25 09:02:16Z]: Debugger operation failed
System.Exception: Could not open /Users/ramon/Projects/NFCTest/NFCTest/bin/Debug/net7.0-maccatalyst/maccatalyst-x64/NFCTest.app: pid returned -1
   at Xamarin.ProjectSystem.Apple.Mac.MacExecutionService.OpenApplication(FilePath appDirectory, String arguments, IDictionary`2 envVariables, Action`1 stdout, Action`1 stderr) in /Users/runner/work/1/s/MonoDevelop.MacDev/MonoDevelop.MacDev/MacExecutionService.cs:line 66
   at Xamarin.ProjectSystem.Apple.Mobile.MacCatalystExecutionService.ExecuteApplication(IPhoneExecutionCommand command, ProcessEventHandler onOutput, ProcessEventHandler onError, EventHandler onExit) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/MacCatalystExecutionService.cs:line 33
   at MonoDevelop.Debugger.Soft.IPhone.IPhoneDebuggerSession.StartProcess(IPhoneExecutionCommand cmd) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.Debugger.Soft.IPhone/IPhoneDebuggerSession.cs:line 82
   at MonoDevelop.Debugger.Soft.IPhone.IPhoneDebuggerSession.OnRun(DebuggerStartInfo startInfo) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.Debugger.Soft.IPhone/IPhoneDebuggerSession.cs:line 62
   at Mono.Debugging.Client.DebuggerSession.<>c__DisplayClass156_0.<Run>b__0() in /Users/runner/work/1/s/main/external/debugger-libs/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:line 440
2023-04-25 09:02:19.236 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x45a004f90>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x600004716d80> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 09:02:19.236 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 09:02:19.236 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {0, 40}}
2023-04-25 09:02:19.236 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
INFO [2023-04-25 09:02:37Z]: Starting to watch process with pid: 5910 and tag: Remote Build Engine
INFO [2023-04-25 09:02:37Z]: SendSuccessTelemetry on run 0
INFO [2023-04-25 09:02:43Z]: Starting to watch process with pid: 5917 and tag: Remote Build Engine
INFO [2023-04-25 09:02:43Z]: SendSuccessTelemetry on run 0
INFO [2023-04-25 09:02:51Z]: [iOS Debugger] Awaiting connection over WiFi to 127.0.0.1:33538
2023-04-25 09:02:51.185 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x45a01e860>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x6000047093e0> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 09:02:51.185 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 09:02:51.185 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {40, 0}}
2023-04-25 09:02:51.185 VisualStudio[2489:33823]     Arranged view frame: {{41, 0}, {40, 0}}
2023-04-25 09:02:51.185 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
2023-04-25 09:02:51.199 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x2eb10fd00>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x600004728440> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 09:02:51.199 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 09:02:51.199 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {0, 40}}
2023-04-25 09:02:51.199 VisualStudio[2489:33823]     Arranged view frame: {{0, 41}, {0, 211}}
2023-04-25 09:02:51.199 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
ERROR [2023-04-25 09:02:51Z]: The application “NFCTest” could not be launched because a miscellaneous error occurred.
ERROR [2023-04-25 09:02:51Z]: Debugger operation failed
System.Exception: Could not open /Users/ramon/Projects/NFCTest/NFCTest/bin/Debug/net7.0-maccatalyst/maccatalyst-x64/NFCTest.app: pid returned -1
   at Xamarin.ProjectSystem.Apple.Mac.MacExecutionService.OpenApplication(FilePath appDirectory, String arguments, IDictionary`2 envVariables, Action`1 stdout, Action`1 stderr) in /Users/runner/work/1/s/MonoDevelop.MacDev/MonoDevelop.MacDev/MacExecutionService.cs:line 66
   at Xamarin.ProjectSystem.Apple.Mobile.MacCatalystExecutionService.ExecuteApplication(IPhoneExecutionCommand command, ProcessEventHandler onOutput, ProcessEventHandler onError, EventHandler onExit) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/MacCatalystExecutionService.cs:line 33
   at MonoDevelop.Debugger.Soft.IPhone.IPhoneDebuggerSession.StartProcess(IPhoneExecutionCommand cmd) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.Debugger.Soft.IPhone/IPhoneDebuggerSession.cs:line 82
   at MonoDevelop.Debugger.Soft.IPhone.IPhoneDebuggerSession.OnRun(DebuggerStartInfo startInfo) in /Users/runner/work/1/s/MonoDevelop.IPhone/MonoDevelop.Debugger.Soft.IPhone/IPhoneDebuggerSession.cs:line 62
   at Mono.Debugging.Client.DebuggerSession.<>c__DisplayClass156_0.<Run>b__0() in /Users/runner/work/1/s/main/external/debugger-libs/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:line 440
2023-04-25 09:02:55.115 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x2eb1ae590>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x60000477f240> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 09:02:55.115 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 09:02:55.115 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {0, 40}}
2023-04-25 09:02:55.115 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
ERROR [2023-04-25 09:03:13Z]: 
MonoDevelop.Core.Execution.RemoteProcessException: Not connected
   at MonoDevelop.Core.Execution.RemoteProcessConnection.PostMessage(BinaryMessage message, TaskCompletionSource`1 cs, Boolean checkInitialized) in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 461
   at MonoDevelop.Core.Execution.RemoteProcessConnection.SendMessage(BinaryMessage message) in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 405
   at MonoDevelop.Core.Execution.RemoteProcessConnection.Disconnect() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 212
ERROR [2023-04-25 09:03:37Z]: 
MonoDevelop.Core.Execution.RemoteProcessException: Not connected
   at MonoDevelop.Core.Execution.RemoteProcessConnection.PostMessage(BinaryMessage message, TaskCompletionSource`1 cs, Boolean checkInitialized) in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 461
   at MonoDevelop.Core.Execution.RemoteProcessConnection.SendMessage(BinaryMessage message) in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 405
   at MonoDevelop.Core.Execution.RemoteProcessConnection.Disconnect() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 212
ERROR [2023-04-25 09:03:37Z]: 
MonoDevelop.Core.Execution.RemoteProcessException: Not connected
   at MonoDevelop.Core.Execution.RemoteProcessConnection.PostMessage(BinaryMessage message, TaskCompletionSource`1 cs, Boolean checkInitialized) in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 461
   at MonoDevelop.Core.Execution.RemoteProcessConnection.SendMessage(BinaryMessage message) in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 405
   at MonoDevelop.Core.Execution.RemoteProcessConnection.Disconnect() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/RemoteProcessConnection.cs:line 212
ERROR [2023-04-25 09:07:38Z]: Error getting search results for MonoDevelop.Components.MainToolbar.RoslynSearchCategory
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'key'))
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key')
   at System.Collections.Immutable.Requires.FailArgumentNullException(String parameterName)
   at Microsoft.CodeAnalysis.Project.<>c.<.cctor>b__135_0(DocumentId documentId, Project project) in /_/src/Workspaces/Core/Portable/Workspace/Solution/Project.cs:line 447
   at Roslyn.Utilities.ImmutableHashMapExtensions.GetOrAdd[TKey,TValue,TArg](ImmutableHashMap`2& location, TKey key, Func`3 valueProvider, TArg factoryArgument) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/CompilerUtilities/ImmutableHashMapExtensions.cs:line 56
   at MonoDevelop.Components.MainToolbar.RoslynSearchCategory.<>c__DisplayClass17_1.<<GetResults>b__3>d.MoveNext() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/RoslynSearchCategory.cs:line 159
--- End of stack trace from previous location ---
   at MonoDevelop.Components.MainToolbar.RoslynSearchCategory.<>c__DisplayClass17_0.<<GetResults>b__0>d.MoveNext() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/RoslynSearchCategory.cs:line 151
   --- End of inner exception stack trace ---
ERROR [2023-04-25 09:07:39Z]: Error getting search results for MonoDevelop.Components.MainToolbar.RoslynSearchCategory
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'key'))
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key')
   at System.Collections.Immutable.Requires.FailArgumentNullException(String parameterName)
   at Microsoft.CodeAnalysis.Project.<>c.<.cctor>b__135_0(DocumentId documentId, Project project) in /_/src/Workspaces/Core/Portable/Workspace/Solution/Project.cs:line 447
   at Roslyn.Utilities.ImmutableHashMapExtensions.GetOrAdd[TKey,TValue,TArg](ImmutableHashMap`2& location, TKey key, Func`3 valueProvider, TArg factoryArgument) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/CompilerUtilities/ImmutableHashMapExtensions.cs:line 56
   at MonoDevelop.Components.MainToolbar.RoslynSearchCategory.<>c__DisplayClass17_1.<<GetResults>b__3>d.MoveNext() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/RoslynSearchCategory.cs:line 159
--- End of stack trace from previous location ---
   at MonoDevelop.Components.MainToolbar.RoslynSearchCategory.<>c__DisplayClass17_0.<<GetResults>b__0>d.MoveNext() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/RoslynSearchCategory.cs:line 151
   --- End of inner exception stack trace ---
ERROR [2023-04-25 09:07:40Z]: Error getting search results for MonoDevelop.Components.MainToolbar.RoslynSearchCategory
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'key'))
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key')
   at System.Collections.Immutable.Requires.FailArgumentNullException(String parameterName)
   at Microsoft.CodeAnalysis.Project.<>c.<.cctor>b__135_0(DocumentId documentId, Project project) in /_/src/Workspaces/Core/Portable/Workspace/Solution/Project.cs:line 447
   at Roslyn.Utilities.ImmutableHashMapExtensions.GetOrAdd[TKey,TValue,TArg](ImmutableHashMap`2& location, TKey key, Func`3 valueProvider, TArg factoryArgument) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/CompilerUtilities/ImmutableHashMapExtensions.cs:line 56
   at MonoDevelop.Components.MainToolbar.RoslynSearchCategory.<>c__DisplayClass17_1.<<GetResults>b__3>d.MoveNext() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/RoslynSearchCategory.cs:line 159
--- End of stack trace from previous location ---
   at MonoDevelop.Components.MainToolbar.RoslynSearchCategory.<>c__DisplayClass17_0.<<GetResults>b__0>d.MoveNext() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/RoslynSearchCategory.cs:line 151
   --- End of inner exception stack trace ---
2023-04-25 09:07:40.400 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x43f526130>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x6000040c1800> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 09:07:40.400 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 09:07:40.400 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {40, 0}}
2023-04-25 09:07:40.400 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
2023-04-25 09:07:40.405 VisualStudio[2489:33823] <VisualStudioMac_UI_Docking_DockSplitViewController_ColoredSplitView: 0x414827b70>: the delegate <VisualStudioMac_UI_Docking_DockSplitViewController_ProxyDelegate: 0x6000040c1b80> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2023-04-25 09:07:40.405 VisualStudio[2489:33823] Split view bounds: {{0, 0}, {0, 0}}
2023-04-25 09:07:40.405 VisualStudio[2489:33823]     Arranged view frame: {{0, 0}, {0, 40}}
2023-04-25 09:07:40.405 VisualStudio[2489:33823]     Arranged view frame: {{0, 41}, {0, 211}}
2023-04-25 09:07:40.405 VisualStudio[2489:33823] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
ERROR [2023-04-25 09:07:43Z]: Error getting search results for MonoDevelop.Components.MainToolbar.RoslynSearchCategory
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'key'))
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key')
   at System.Collections.Immutable.Requires.FailArgumentNullException(String parameterName)
   at Microsoft.CodeAnalysis.Project.<>c.<.cctor>b__135_0(DocumentId documentId, Project project) in /_/src/Workspaces/Core/Portable/Workspace/Solution/Project.cs:line 447
   at Roslyn.Utilities.ImmutableHashMapExtensions.GetOrAdd[TKey,TValue,TArg](ImmutableHashMap`2& location, TKey key, Func`3 valueProvider, TArg factoryArgument) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/CompilerUtilities/ImmutableHashMapExtensions.cs:line 56
   at MonoDevelop.Components.MainToolbar.RoslynSearchCategory.<>c__DisplayClass17_1.<<GetResults>b__3>d.MoveNext() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/RoslynSearchCategory.cs:line 159
--- End of stack trace from previous location ---
   at MonoDevelop.Components.MainToolbar.RoslynSearchCategory.<>c__DisplayClass17_0.<<GetResults>b__0>d.MoveNext() in /Users/runner/work/1/s/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.MainToolbar/RoslynSearchCategory.cs:line 151
   --- End of inner exception stack trace ---
%% Shoing
WARNING [2023-04-25 09:08:00Z]: Inline operation : MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_26:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1637 was postponed due to scheduling constraints not satisfied. This is probably unintended.
WARNING [2023-04-25 09:08:00Z]: Inline operation Getting referenced assemblies: MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_26:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1638 was postponed due to scheduling constraints not satisfied. This is probably unintended.
WARNING [2023-04-25 09:08:00Z]: Inline operation Getting referenced assemblies: MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_26:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1639 was postponed due to scheduling constraints not satisfied. This is probably unintended.
INFO [2023-04-25 09:08:00Z]: [2023-04-25 09:08:00.0] INFO: : Project reloaded
INFO [2023-04-25 09:08:00Z]: [2023-04-25 09:08:00.0] INFO: : Project reloaded
WARNING [2023-04-25 09:08:00Z]: Inline operation : MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_26:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1640 was postponed due to scheduling constraints not satisfied. This is probably unintended.
WARNING [2023-04-25 09:08:00Z]: Inline operation : MonoDevelop.Projects.SolutionItem::{BC402AFB-74CD-4D6A-A8AA-795546CDB173}_26:CancelWhenDisposing, MonoDevelop.Projects.WorkspaceItem::/Users/ramon/Projects/NFCTest/NFCTest.sln_21:CancelWhenDisposing, MonoDevelop.Projects.ProjectService Id: 1641 was postponed due to scheduling constraints not satisfied. This is probably unintended.
%% Not Visible 2

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 21 (9 by maintainers)

Most upvoted comments

I did ent solve it. I have jumped Maui until it’s more prod ready

@rolfbjarne Does enabling codesign for debugging make sense? Is this a supported use case?

Yes, enabling codesigning while debugging should work.

That said, if the app is signed incorrectly, macOS might not allow the executable to launch (and if he executable doesn’t launch, then debugging won’t either).

The issue with the bundle identifier (CFBundleIdentifier) might be the reason for such a problem (it looks like the Info.plist is invalid, since there’s no value specified for CFBundleIdentifier).

If fixing the CFBundleIdentifier value doesn’t solve the issue, then check if there are any crash reports in ~/Library/Logs/DiagnosticReports that might give more informations.

Another thing to try might be to launch the executable from a terminal, and then you’ll sometimes get better information printed.

The path to the executable would be something like this:

path/to/project/bin/Debug/net7.0/maccatalyst-x64/NFCTest.app/Contents/MacOS/NFCTest