Returns the current C# application and host-plugin profile. The profile is intended for SDK-style .NET projects, Windows GUI extensions, and application code that has host-runtime boundaries.
Renders the C# profile for human or machine use.
C# projects must use SDK-style .csproj files, a committed
Directory.Build.props, and a committed .editorconfig.
Directory.Build.props must enable .NET analyzers and
code-style enforcement in build.
The baseline complexity gates are CA1502,
CA1505, and CA1506 as errors. Legacy exceptions
may be scoped per file, but they need a ratchet check that prevents the
exception from growing.
Pure helper logic must be covered by dotnet test. Host-boundary
code that cannot be loaded in a normal test runner should stay thin and
route behavior through pure helpers. Manual smoke requirements for host
boundary behavior must be documented near the owning feature.
Installer, extension, or runtime artifacts may be committed only when the
project documents the target layout and regeneration path. Local
bin/, obj/, package scratch, and user-local host
state remain transient.