Define AuditSources
from an MSBuild property
#13624
Labels
Area:NuGetAudit
Functionality:Restore
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Type:Feature
NuGet Product(s) Involved
MSBuild.exe
The Elevator Pitch
You recently added the capability to define
<auditSources>
in the NuGet.config file (NuGet/NuGet.Client#5708).We like sharing most project configuration as part of MSBuild files. Would it be possible to be provide an MSBuild property, similar to
RestoreSources
andRestoreAdditionalProjectSources
, to define the AuditSources?Another point is that we share some properties between multiple projects by using a NuGet package. This package contains MSBuild props/targets that are automatically imported by NuGet (More info about this strategy in this post https://www.meziantou.net/sharing-coding-style-and-roslyn-analyzers-across-projects.htm).
Would it be possible to set the AuditSources in this package?
Additional Context and Details
No response
The text was updated successfully, but these errors were encountered: