Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define AuditSources from an MSBuild property #13624

Open
meziantou opened this issue Jul 15, 2024 · 0 comments
Open

Define AuditSources from an MSBuild property #13624

meziantou opened this issue Jul 15, 2024 · 0 comments
Labels
Area:NuGetAudit Functionality:Restore Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Feature

Comments

@meziantou
Copy link

meziantou commented Jul 15, 2024

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 and RestoreAdditionalProjectSources, 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

@donnie-msft donnie-msft added Area:RestoreCPM Central package management and removed Triage:Untriaged labels Jul 16, 2024
@nkolev92 nkolev92 added Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Functionality:Restore labels Jul 22, 2024
@zivkan zivkan added Area:NuGetAudit and removed Area:RestoreCPM Central package management labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:NuGetAudit Functionality:Restore Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Feature
Projects
None yet
Development

No branches or pull requests

4 participants