obfuscar / example

Example repo of Obfuscar.
54 stars 26 forks source link

Error: "Unable to resolve dependency: System.Windows.Forms" #6

Closed pablocar80 closed 5 years ago

pablocar80 commented 5 years ago

I tried to obfuscate my startup project, which is a NET Framework 4.7.2 and uses WinForms. I always get this error, even when I obfuscate the file directly from its bin folder (which includes all the dependencies):

Unable to resolve dependency: System.Windows.Forms

lextm commented 5 years ago

You might try to add a folder like C:\Windows\Microsoft.NET\Framework64\v4.0.30319 as assembly search folder, http://docs.obfuscar.com/getting-started/configuration.html#assembly-search-path-2-2-5