Skip to content

Commit

Permalink
Support for vbproj files via #16 (#17)
Browse files Browse the repository at this point in the history
* Update ReadMe with support and contribution details. (#6)

Co-authored-by: Madushan <[email protected]>

* Fix to detect dependencies on .NET Framework projects.

* Adds support to show COM/DLL references. Feature #9

* Add support for custom titles in HTML output (#13)

* Added `-HtmlTitle` (`-HT`) option to specify a title for HTML output. Feature #11
* Updated README.md to reflect the new changes

* bump version number fr release

* Move to dotnet 6 LTS

* update build pipeline to use .NET 6 SDK

* use .NET 6 SDK for pipeline

* Support VB.NET Projects (#16)

vbproj files have the same format as csproj files and so can
also be used to gain information about referenced projects and
packages.

* read me update and version bump

Co-authored-by: Madushan <[email protected]>
Co-authored-by: Murray <[email protected]>
Co-authored-by: Philipp Grathwohl <[email protected]>
  • Loading branch information
4 people authored Mar 29, 2022
1 parent a90d71b commit cff9124
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DependenSee/DependenSee.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<PackAsTool>true</PackAsTool>
<ToolCommandName>DependenSee</ToolCommandName>
<PackageOutputPath>./bin/nupkg</PackageOutputPath>
<Version>2.0.0</Version>
<Version>2.1.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion DependenSee/ReferenceDiscoveryService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ private static string[] ParseStringToLowercaseStringArray(string list) =>

private void Discover(string folder, DiscoveryResult result)
{
var projectFiles = Directory.EnumerateFiles(folder, "*.csproj");
var projectFiles = Directory.EnumerateFiles(folder, "*.csproj")
.Concat(Directory.EnumerateFiles(folder, "*.vbproj"));
foreach (var file in projectFiles)
{
var id = file.Replace(SourceFolder, "");
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Keep this in mind and inspect the output if you're distributing the outputs from

# Limitations

- Currently only traverses `csproj` files. No other file types are supported.
- Currently only traverses `csproj` and `vbproj` files. No other file types are supported.
- No compile results are inspected. Only the project structure is used.

# License
Expand Down

0 comments on commit cff9124

Please sign in to comment.