Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How to ignore dev dependencies in WhiteSource scan for nuget packages

$
0
0

I want to ignore my SonarAnalyzer.Csharp and Sonarlint package in the C# code WhiteSource scan. They are being captured as Policy Violation.

I checked the documentation, there is no option to ignore checking dev dependencies https://whitesource.atlassian.net/wiki/spaces/WD/pages/489160834/Unified+Agent+Configuration+File+Parameters.

Is there any option that we can provide in the WhiteSource config file to skip it. My packages.config file looks like this.

<?xml version="1.0" encoding="utf-8"?><packages><package id="SonarAnalyzer.CSharp" version="1.21.0" targetFramework="net461" /><package id="SonarLint" version="2.0.0" targetFramework="net452" developmentDependency="true" /></packages>

Viewing all articles
Browse latest Browse all 3067

Trending Articles