anchor.diff:                          Some dotnet
           else
               None
  -#endif
   
       let drainStreamToFile (stream: StreamReader) filename =
           use file = File.OpenWrite(filename)
  
positive.code: open System.Runtime.Versioning
  
  open Internal.Utilities.FSharpEnvironment
  
  #if !(NETSTANDARD || NETCOREAPP)
  open Microsoft.Build.Evaluation
  open Microsoft.Build.Framework
  #endif
  
  [<AttributeUsage(AttributeTargets.Assembly ||| AttributeTargets.Class , AllowMultiple = false)>]
  type DependencyManagerAttribute() = inherit System.Attribute()
  
negative.code:         let workingDir = Path.GetDirectoryName projectPath
  
          let succeeded =
              if not (isRunningOnCoreClr) then
                  // The Desktop build uses "msbuild" to build
                  executeBuild msbuildExePath (arguments "") workingDir
              else
                  // The coreclr uses "dotnet msbuild" to build
                  executeBuild dotnetHostPath (arguments "msbuild") workingDir
  
          let outputFile = projectPath + ".fsx"
          let resultOutFile = if succeeded && File.Exists(outputFile) then Some outputFile else None
          succeeded, resultOutFile
  