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

Consider adding EmbedUntrackedSources for a build process

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.25.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      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.

            Assignee:
            oleksandr.poliakov@mongodb.com Oleksandr Poliakov
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: