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-14 errorscsharpdotnet Fix: A possible object cycle was detected System.Text.Json refuses to serialize graphs with back-references. Set ReferenceHandler.IgnoreCycles, project to a DTO, or mark the back-pointer with [JsonIgnore]. Preserve is a last resort.
2026-05-14 errorscsharpdotnet Fix: SqlException: Timeout expired during EF Core migrations Migrations use the design-time DbContext, not your runtime CommandTimeout. Set the timeout via UseSqlServer(o => o.CommandTimeout(...)), the connection string Command Timeout, or Database.SetCommandTimeout before Migrate().
2026-05-13 errorscsharpdotnet Fix: System.Text.Json.JsonException: The JSON value could not be converted System.Text.Json throws this when the incoming JSON token doesn't match the CLR target type. Match the JSON to the type, or register a JsonConverter or JsonSerializerOption that bridges them.
2026-05-13 errorscsharpdotnet Fix: System.Security.Cryptography.CryptographicException: Keyset does not exist The certificate's private key lives in a separate Windows key file the current process identity cannot read. Grant ACL on the key, load the PFX with MachineKeySet, or use EphemeralKeySet.
2026-05-12 errorscsharpdotnet Fix: System.IO.FileNotFoundException: Could not load file or assembly in a published app Runs fine with dotnet run, throws after dotnet publish. The DLL is usually missing from the publish folder, not the runtime. Check deps.json, ProjectReference Private, and trimming.
2026-05-12 errorscsharpdotnet Fix: InvalidOperationException: Synchronous operations are disallowed Replace the Stream.Read or Write call with ReadAsync/WriteAsync. As a last resort, set AllowSynchronousIO on Kestrel, IIS, or per-request via IHttpBodyControlFeature.
2026-05-12 errorscsharpdotnet Fix: RZ10012: Found markup element with unexpected name in Blazor Blazor's Razor compiler emits RZ10012 when a PascalCase tag has no matching component type in scope. Add @using for the component's namespace in _Imports.razor, or @namespace in the component, then rebuild.
2026-05-11 errorscsharpdotnet Fix: dotnet ef migrations add fails with 'Unable to create an object of type DbContext' EF Core's design-time tools could not instantiate your DbContext. Either expose a host via WebApplication.CreateBuilder, point to the right startup project, or implement IDesignTimeDbContextFactory.
2026-05-11 errorscsharpdotnet Fix: MSB3027 Could not copy X to Y. Exceeded retry count of 10. Failed MSB3027 means MSBuild retried a file copy 10 times and a process still held the destination. Kill the locking process, exclude bin/obj from antivirus, or raise CopyRetryCount.