Skip to content
New issue

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

shargen.dll error #5

Open
jmaravi opened this issue Jul 14, 2019 · 1 comment
Open

shargen.dll error #5

jmaravi opened this issue Jul 14, 2019 · 1 comment

Comments

@jmaravi
Copy link

jmaravi commented Jul 14, 2019

When running shargen.dll I get:
C:\Users\PC\SharpGen\bin\Release\netcoreapp2.1>SharpGen.dll

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

My attacking machine and my target use Net 4.0.3019, not sure why I am getting this

@cobbr
Copy link
Owner

cobbr commented Jul 15, 2019

Hi @jmaravi , SharpGen is written for dotnet core, and you'll have to use the dotnet core CLI to execute it. You don't execute the SharpGen.dll directly by itself.

It should look something like this:
PS C:\Users\PC\SharpGen > dotnet ./bin/Release/netcoreapp2.1/SharpGen.dll <insert arguments>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants