6

Error : Fody: Could not find 'System.Object'. WindowsApp1

hi, something called Fody, it embed dlls assembly into project.

problem is it work only with C# |and i need use it as VB, i cant reduce Netframwork less than 4.6 cause dll's required high netframwork.

error only occurs when running Fody on a VB assembly using the full .Net Framework

the tested result

so they say it can be solve By

try adding explicit references to your VB project

<Reference Include="mscorlib" />
<Reference Include="System" />

how can do it, because not automatically included in VB projects

MERCCK
  • 63
  • 8
Darzy08
  • 105
  • 1
  • 4
  • 14

1 Answers1

17
  • Go to your Project file
  • edit vbproj
  • you can find <Reference Include="System" />
  • add before it <Reference Include="mscorlib" />
Dev I.A
  • 578
  • 4
  • 11