2026-05-22 csharpdotnetdotnet-11 C# 16 Reworks unsafe Into a Caller Contract C# 16 redesigns the unsafe keyword so it propagates a caller obligation instead of silently opening an unsafe context, with inner unsafe blocks now mandatory.
2026-05-22 comparisondotnetnative-aot Native AOT vs ReadyToRun vs JIT in .NET 11: which should you ship? Plain JIT with Dynamic PGO wins steady-state throughput, ReadyToRun cuts startup with zero code changes, and Native AOT gives the smallest, fastest-starting binary at the cost of reflection and dynamic code. Pick by deployment shape, not raw benchmarks.
2026-05-22 comparisonsystem-text-jsonnewtonsoft-json System.Text.Json vs Newtonsoft.Json in 2026: which should you pick? Pick System.Text.Json for new .NET 11 code: it ships in-box, is roughly 2x faster, and is the only one that works with Native AOT. Reach for Newtonsoft.Json only for JSONPath, TypeNameHandling, or genuinely lenient JSON.
2026-05-20 dotnetdotnet-10nuget NuGet Package Pruning Is On by Default in .NET 10 NuGet Package Pruning shipped on-by-default for net10.0 projects, cutting transitive vulnerability reports by 70% and restore times by up to 50%.
2026-05-18 errorscsharpdotnet Fix: framework_version=6.0.0 was not found when launching a .NET 6 binary The .NET 6 runtime is gone or mismatched. Either install net6.0 again, roll forward to net8.0 via runtimeconfig, retarget the csproj, or ship self-contained.
2026-05-17 mcpai-agentsdotnet dotnet new mcpserver Now Ships in the .NET 11 Preview 4 SDK .NET 11 Preview 4 bundles the mcpserver project template directly into the SDK. No separate Microsoft.McpServer.ProjectTemplates install, no preview feed dance. Pick stdio or HTTP transport, opt into Native AOT, and dotnet new mcpserver -o MyServer is the whole setup.
2026-05-16 errorsdotnetdotnet-11 Fix: Provisioning profile doesn't include the currently selected device in MAUI iOS The profile Visual Studio picked was generated before this iPhone's UDID was registered. Re-register the device, regenerate the development profile, redownload, redeploy.
2026-05-16 errorsdotnetdotnet-11 Fix: Unable to find a valid iOS Simulator runtime during MAUI build Xcode 15+ ships without bundled iOS simulator runtimes. MAUI fails the build when SupportedOSPlatformVersion has no matching runtime installed. Install one with xcodebuild -downloadPlatform iOS or via Xcode Settings, then verify with xcrun simctl list runtimes.
2026-05-15 dotnetdotnet-11csharp .NET 11 Adds Deadlock-Free Process Output Capture .NET 11 Preview 4 ships new System.Diagnostics.Process APIs that drain stdout and stderr concurrently, plus one-line run-and-capture helpers and KillOnParentExit.
2026-05-15 errorsdotnetdotnet-11 Fix: Gradle build failed to produce an .apk file in MAUI Android Nine out of ten times the real Gradle error is buried higher in the MSBuild log. JDK 17 path, missing maui-android workload, and Windows long paths are the usual root causes.