diff --git a/detectable/src/main/java/com/blackduck/integration/detectable/detectables/nuget/NugetSolutionDetectable.java b/detectable/src/main/java/com/blackduck/integration/detectable/detectables/nuget/NugetSolutionDetectable.java index d87a068e39..e89f8e657e 100644 --- a/detectable/src/main/java/com/blackduck/integration/detectable/detectables/nuget/NugetSolutionDetectable.java +++ b/detectable/src/main/java/com/blackduck/integration/detectable/detectables/nuget/NugetSolutionDetectable.java @@ -23,7 +23,7 @@ import com.blackduck.integration.detectable.extraction.Extraction; import com.blackduck.integration.detectable.extraction.ExtractionEnvironment; -@DetectableInfo(name = "NuGet Solution Native Inspector", language = "C#", forge = "NuGet.org", accuracy = DetectableAccuracyType.HIGH, requirementsMarkdown = "File: a solution file with a .sln extension.") +@DetectableInfo(name = "NuGet Solution Native Inspector", language = "C#", forge = "NuGet.org", accuracy = DetectableAccuracyType.HIGH, requirementsMarkdown = "File: a solution file with a .sln or .slnx extension.") public class NugetSolutionDetectable extends Detectable { private static final List SUPPORTED_SOLUTION_PATTERNS = Collections.unmodifiableList(Arrays.asList("*.sln", "*.slnx")); diff --git a/documentation/src/main/markdown/packagemgrs/nuget.md b/documentation/src/main/markdown/packagemgrs/nuget.md index 310a17f699..22b49566a1 100644 --- a/documentation/src/main/markdown/packagemgrs/nuget.md +++ b/documentation/src/main/markdown/packagemgrs/nuget.md @@ -52,12 +52,12 @@ For direct access to the binaries or source code see [download locations](../dow An inspector is self-contained and requires no installation. Each executable is platform dependent and the correct inspector is downloaded by [detect_product_short] at runtime. -NuGet Solution Native Inspector runs if one or more solution (.sln) files are found and derives packages (dependencies) via analysis of solution files. Central Package Management is supported to include any package versions and global package references mentioned under `Directory.Packages.props` files indicated the (.sln) file for each project under the solution. Any package references and versions in the solution's `Directory.Build.props` will be included for each project under the solution. +NuGet Solution Native Inspector runs if one or more solution (.sln or .slnx) files are found and derives packages (dependencies) via analysis of solution files. Central Package Management is supported to include any package versions and global package references mentioned under `Directory.Packages.props` files indicated in a solution file for each project under said solution. Any package references and versions in the solution's `Directory.Build.props` will be included for each project under the solution. TODO overall reowrd these two sentences to be more clear and concise. -When running the NuGet Solution Native Inspector the `--detect.detector.search.depth=` value is ignored if a solution (.sln) file is found that contains project references that include subdirectories at levels lower than the specified search depth. +When running the NuGet Solution Native Inspector the `--detect.detector.search.depth=` value is ignored if a solution file is found that contains project references that include subdirectories at levels lower than the specified search depth. -NuGet Project Native Inspector runs if no solution (.sln) files are found, and one or more project files are found. NuGet Project Native Inspector derives packages (dependencies) from project (.csproj, .fsproj, etc.) file content. +NuGet Project Native Inspector runs if no solution files are found, and one or more project files are found. NuGet Project Native Inspector derives packages (dependencies) from project (.csproj, .fsproj, etc.) file content. NuGet Native Project inspectors look for files to derive dependency information from in this order (only the first available in the list will be analyzed): 1. Directory.Packages.props