Skip to content

Instantly share code, notes, and snippets.

View rmarinho's full-sized avatar

Rui Marinho rmarinho

View GitHub Profile
---
name: "maui-coreclr"
description: "End-to-end setup for a .NET MAUI app on CoreCLR (not Mono), iOS Simulator + Android Emulator, with VS Code F5 debugging. Use when the user mentions CoreCLR on iOS, MAUI iOS simulator, vsdbg iOS, breakpoints not hitting in iOS Debug, or setting up MAUI with CoreCLR runtime."
---
# MAUI CoreCLR Debugging Workflow
Use this skill for a .NET MAUI app on CoreCLR with VS Code F5 debugging, especially iOS Simulator CoreCLR and Android emulator/USB debugging.
This guide targets macOS on Apple Silicon (darwin-arm64). Windows and Linux setups require different VSIX platform suffixes, path conventions, and simulator tooling and are not covered here.
@rmarinho
rmarinho / new.log
Last active April 30, 2026 10:44
Error with templates
11.0.100-preview.4.26224.122 [C:\Program Files\dotnet\sdk]
PS C:\Users\rumar> q:
PS Q:\> cd .\source\
PS Q:\source> dotnet new maui -o MauiAppNet10
Error: Failed to load template from "C:\Program Files\dotnet\templates\6.0.36\microsoft.dotnet.test.projecttemplates.6.0.1.0.2-beta4.22207.1.nupkg(/content/NUnit-CSharp/.template.config/template.json)".
Details: System.ArgumentException: An item with the same key has already been added. Key: defaultName (Parameter 'key')
at System.Collections.ThrowHelper.ThrowDuplicateKey[TKey](TKey key)
at System.Collections.Generic.OrderedDictionary`2.TryInsert(Int32 index, TKey key, TValue value, InsertionBehavior behavior, Int32& keyIndex)
at System.Collections.Generic.OrderedDictionary`2.Add(TKey key, TValue value)
at System.Text.Json.Nodes.JsonObject.InitializeDictionary()
@rmarinho
rmarinho / dotnet_info.log
Created March 11, 2026 15:16
Dotnet info
PS C:\> dotnet --info
.NET SDK:
Version: 10.0.300-preview.26126.103
Commit: c9c7256d04
Workload version: 10.0.300-manifests.79656e34
MSBuild version: 18.3.0-preview-26126-103+c9c7256d0
Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
@rmarinho
rmarinho / AndroidDependencies.md
Created February 12, 2026 17:35
Dependencies

Yes! The Android workload does expose default dependency versions directly in its .props files. Here are the alternative ways to get Android SDK dependencies:


1. Read MSBuild Props Files Directly (No project needed)

The workload ships default versions in:

  • /usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/<version>/tools/Xamarin.Android.Common.props
  • /usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/<version>/tools/Xamarin.Installer.Common.props
using MCP.Services.Models;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.TeamFoundation.Build.WebApi;
using Microsoft.VisualStudio.Services.Common;
using Microsoft.VisualStudio.Services.WebApi;
namespace MCP.Services;
public class AzdoService

.NET MAUI 10.0.0 Preview 3 Release Notes

What's Changed

This release includes significant accessibility improvements, performance optimizations for CollectionView and property mapping, and several platform-specific fixes across iOS, Android, and Windows. It also adds new API capabilities in Essentials and obsoletes legacy controls like ListView, Cell types, and TableView.

MAUI Product Fixes

  • [Accessibility] Add 'button' for TalkBalk on Android Tap Gesture Recognizers by @TJLambert in dotnet/maui#28393
  • [Accessibility] Add Accessibility Traits to CollectionView items on iOS/Catalyst by @TJLambert in dotnet/maui#27971
@rmarinho
rmarinho / crash.log
Last active August 6, 2024 18:06
Api23-net9
Time Device Name Type PID Tag Message
08-06 18:57:50.128 pixel_5_-_api_23 Debug 22097 AndroidRuntime Shutting down VM
08-06 18:57:50.125 pixel_5_-_api_23 Info 2447 ActivityManager Force stopping com.microsoft.maui.controls.devicetests appid=10062 user=0: from pid 22097
08-06 18:57:50.112 pixel_5_-_api_23 Debug 22097 AndroidRuntime Calling main entry com.android.commands.am.Am
08-06 18:57:50.089 pixel_5_-_api_23 Info 22097 Radio-JNI register_android_hardware_Radio DONE
08-06 18:57:50.083 pixel_5_-_api_23 Error 22097 android.os.Debug failed to load memtrack module: -2
08-06 18:57:50.083 pixel_5_-_api_23 Error 22097 memtrack Couldn't load memtrack module (No such file or directory)
08-06 18:57:49.952 pixel_5_-_api_23 Debug 22097 ICU No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
08-06 18:57:49.949 pixel_5_-_api_23 Warning 3377 OpenGLRenderer Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
08-06 18:57:49.949 pixel_5_-_api_23 Warning 3377 Open
@rmarinho
rmarinho / springboard.log
Created March 5, 2024 16:49
Springboard crash log
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: 151A807E-0A63-4975-A36E-951005546746
CrashReporter Key: 71D68C51-9E4C-A196-8505-F4A67781DD63
Hardware Model: MacBookPro16,1
Process: SpringBoard [55498]
Path: /Volumes/VOLUME/*/SpringBoard.app/SpringBoard
Identifier: com.apple.springboard
@rmarinho
rmarinho / installer.log
Created December 12, 2023 14:50
Log installer .net9
Downloading from "https://dot.net/v1/dotnet-install.sh" to "/Users/ruimarinho/dotnet/maui/bin/dotnet-install.sh" (61 896 bytes).
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.
dotnet-install: Calling: machine_has curl
dotnet-install: Calling: calculate_vars
dotnet-install: Calling: get_normalized_architecture_from_architecture <auto>
dotnet-install: Calling: get_machine_architecture
@rmarinho
rmarinho / install-maui.log
Created October 23, 2023 22:06
MAUI install log
ruimarinho@iMSFT-MacBookPro ~ % sudo dotnet workload install maui --from-rollback-file http://maui.blob.core.windows.net/metadata/rollbacks/8.0.0-rc.2.9475.json --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json --source https://api.nuget.org/v3/index.json --verbosity diag
Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.100-rc.2.23502.2
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.