Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3994

Consider adding EmbedUntrackedSources for a build process

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      This is a continuation of CSHARP-2088.
      The sourceLink github page says:

      Set EmbedUntrackedSources to true to instruct the build system to embed project source files that are not tracked by the source control or imported from a source package to the generated PDB.
      

      At the very least this option affects adding files like "AssemblyInfo.cs" and "AssemblyAttributes.cs", that are not under source control, to the .pdb files.
      However we're not sure that settings this option is 100% safe in all possible cases. So we postpone this change until we will figure it out (in the scope of this ticket).

      Avoiding this option also leads to warning in a package description:

      so it's probably better to solve it in one or another way.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: