Enforce explicit return types on public APIs with a Roslyn analyzer
A custom Roslyn analyzer flags `var` in public .NET method signatures inside Visual Studio, turning code-review nits into build-time diagnostics.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
A custom Roslyn analyzer flags `var` in public .NET method signatures inside Visual Studio, turning code-review nits into build-time diagnostics.
Stop restarting your .NET apps for every minor change. Learn how to use Visual Studio Hot Reload to apply code changes instantly and identify the difference between supported edits and 'rude edits'.
Learn how to make Visual Studio’s code‑style rules enforceable in CI by using .editorconfig, EnforceCodeStyleInBuild, and dotnet format. A step‑by‑step guide with examples and trade‑offs.
Learn how Visual Studio 2022 Hot Reload lets you apply method‑body edits to a running .NET app, what changes are supported, and how to verify the feature works without restarting the debugger.
Use Visual Studio Live Share for host-controlled remote debugging without copying source. Covers architecture, trust boundaries, operational checks, and when the design breaks down.
Visual Studio’s Live Share turns the IDE into a real‑time collaboration hub. Learn what it can do, how to set it up, and the trade‑offs you need to know before sharing a session.
Hot Reload preserves debugger state by patching IL in memory. Learn when edits are safe, what counts as a rude edit, and how to verify updates without restarting a .NET app in Visual Studio.
Learn when to keep all projects in one .sln file and when to use .slnf filters to reduce IDE load, with a compact comparison table and a step‑by‑step validation example.
When Visual Studio’s Test Explorer shows no tests after a clean build, the issue is usually a discovery failure. This guide walks through the most common causes—missing adapters, build configuration, .runsettings filters, and corrupted cache—and shows how to verify and fix each one.