[CSHARP-3994] Consider adding EmbedUntrackedSources for a build process Created: 13/Dec/21  Updated: 25/Oct/22

Status: Backlog
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2021-12-13-23-46-58-461.png    
Issue Links:
Issue split
split from CSHARP-2088 Publish PDBs and sources on symbolsource Closed
split from CSHARP-3802 Ensure that all required nuget fields... Closed

 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.



 Comments   
Comment by Boris Dogadov [ 25/Oct/22 ]

External PR

Generated at Wed Feb 07 21:46:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.