We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--dev
node -v
npm -v
snyk -v
snyk monitor ...
Dev dependencies should not be reported as a dependency when the --dev flag (see docs) is not passed.
The --dev flag is not supported for .NET.
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net6.0</TargetFramework> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.3.44" /> </ItemGroup> </Project>
project.assets.json
snyk monitor
Please note that the Microsoft.VisualStudio.Threading.Analyzers NuGet package has developmentDependency=true set in their nuspec file (see <developmentDependency>true</developmentDependency> in https://www.fuget.org/packages/Microsoft.VisualStudio.Threading.Analyzers/17.3.44).
Microsoft.VisualStudio.Threading.Analyzers
developmentDependency=true
<developmentDependency>true</developmentDependency>
I believe that <developmentDependency>true</developmentDependency> in NuSpec translates to "suppressParent": "All" in project.assets.json file.
"suppressParent": "All"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
node -v
: 16.13.2npm -v
: 8.1.2snyk -v
: 1.1022.0snyk monitor ...
Expected behaviour
Dev dependencies should not be reported as a dependency when the
--dev
flag (see docs) is not passed.Actual behaviour
The
--dev
flag is not supported for .NET.Repro steps
project.assets.json
filesnyk monitor
against that filePlease note that the
Microsoft.VisualStudio.Threading.Analyzers
NuGet package hasdevelopmentDependency=true
set in their nuspec file (see<developmentDependency>true</developmentDependency>
in https://www.fuget.org/packages/Microsoft.VisualStudio.Threading.Analyzers/17.3.44).Notes
I believe that
<developmentDependency>true</developmentDependency>
in NuSpec translates to"suppressParent": "All"
inproject.assets.json
file.The text was updated successfully, but these errors were encountered: