Skip to main content
Version: 2.1

Version 2.1.4 Release Notes

Release date: September 6, 2026

Version 2.1.4 is a patch release for the .NET 10 and Orchard Core 3.0 line. It keeps the Orchard Core package range at >= 3.0.0 and < 3.1.0 and the CrestApps.Core package line at stable 1.2.0. This release completes the fix for the OllamaSharp source generator build error that 2.1.3 addressed but shipped incorrectly.

Bug fixes​

OllamaSharp source generator build error (CS9057)​

OllamaSharp 5.4.30 ships a Roslyn source generator (OllamaSharp.SourceGenerators) that is built against a newer C# compiler than earlier .NET 10 SDKs provide. On such an SDK the compiler reports CS9057 and skips the generator. CS9057 is a warning by default, but builds that treat warnings as errors fail on it. Because transitive analyzers and source generators reach consuming projects even when intermediate dependencies exclude analyzer assets, the failure surfaced in projects that reference the Ollama module.

The Ollama package now ships a buildTransitive MSBuild targets file that adds CS9057 to NoWarn in consuming projects. The suppression is a no-op on SDKs where the generator is compatible, so OllamaSharp tool generation keeps working there.

Invalid XML in the 2.1.3 buildTransitive targets file​

2.1.3 shipped the buildTransitive targets file with an XML comment that contained a double hyphen, which is not allowed in XML. MSBuild failed to import the file in consuming projects with MSB4024 ("An XML comment cannot contain '--'"), which broke every build that referenced the package, regardless of SDK version. The comment has been corrected, and the file now imports normally. If you are on 2.1.3, update to 2.1.4.