How do I manage .NET SDK version selection and roll‑forward for self‑contained C# deployments on Windows, Linux, and macOS?
When deploying a C# application as a self‑contained package, I need to ensure the correct .NET runtime is bundled while also controlling which SDK version is used for building and publishing across different operating systems. The CLI chooses the latest SDK unless a global.json overrides it, and runtime roll‑forward can affect which version runs on target ma