Roslyn.Build.Util (nuget): Provides WriteCodeFragmentEx.  This is an implementation of the standard WriteCodeFragment Task that is deterministic.
Keywords: csharp|hacktoberfest|roslyn|visual-basic|visual-studio