Projects and packages
A source project ... end project declaration controls language names and imports; it is described in the language tour and project specification. SDK project files, build items and package restore are tooling concerns.
Mix DirectSharp and C#
The MSBuild integration adds the build action DirectSharpCompile for .ds files. Project builds generate C# under obj and compile it into the same assembly as C# source. The mixed project sample calls a DirectSharp pricing rule from a C# console host.
Follow the build integration's exact props/targets instructions; there is no published SDK/package implied by these repository examples. Current SDK integration is tested with net8.0. Interactive Windows Visual Studio hosting remains unverified.
References and NuGet
An import changes name lookup; it neither installs a package nor adds an assembly reference. Compiler assembly references and SDK dependency contexts are explicit. The external validation sample uses a pinned FluentValidation dependency through an ordinary SDK project. Its README lists the real source, project and deployment commands.
See compiler commands and runnable samples for current invocation paths. CLR types, interfaces, delegates and overload behavior remain language topics in the .NET interoperability reference.