SharpHound icon indicating copy to clipboard operation
SharpHound copied to clipboard

Sharphound does not build anymore

Open cmahrl opened this issue 10 months ago • 4 comments

With the latest commit #124, Sharphound cannot be compiled anymore.

The following error is thrown:

ObjectProcessors.cs(135,125): error CS7036: There is no argument given that corresponds to the requ ired parameter 'hasLaps' of 'ACLProcessor.ProcessACL(byte[], string, Label, bool, string)'

Steps to reproduce

Using .net 5.0:

  1. dotnet restore .
  2. dotnet build

cmahrl avatar Feb 19 '25 09:02 cmahrl

Also having this issue attempting to build with .net 5

ryhanshannon avatar Aug 20 '25 21:08 ryhanshannon

@cmahrl update for you if it's useful: You can get around this if you build the sharphoundcommon project into a local DLL and include it instead of relying on nuget

ryhanshannon avatar Aug 20 '25 23:08 ryhanshannon

Just as more info here for people, the issue is in the SharpHoundCommon v4.3.1 package in NuGet. While the missing code was added to SharpHoundCommon July 29th, the 4.3.1 which was released august 4th doesn't contain it. Seems like an error on the release teams part when uploading the new version to NuGet.

Octoberfest7 avatar Sep 04 '25 22:09 Octoberfest7

@ryhanshannon can confirm that this works :)

dubs3c avatar Sep 10 '25 13:09 dubs3c