Could not find System.Object VB.NET

Darzy08

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

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

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

.NET 7 System.IO.FileNotFoundException: Could not find file

The multi-part identifier “System.Data.DataRowView” could not be bound in vb.net

Unable to cast object of type 'System.Byte' to type 'System.Byte[]' - vb .net

Unable to cast object of type 'System.String' to type 'System.Data.DataTable' in VB.NET

Unable to cast object of type 'System.Object' to type (MyClass) Vb.Net

.NET Compiler could not find the reference

Unable to cast object of type 'WhereSelectArrayIterator`2[System.String,System.Byte]' to type 'System.Byte[]'. Vb.net

Could not load file or assembly 'System.Net.Http.Formatting' or one of its dependencies. The system cannot find the path specified

System.NullReferenceException: Object variable or With block variable not set. VB.net

System.IO.FileNotFoundException : Could not find file

SSIS:File System Task 'Could not find file'

The Apache IoTDB system could not find the specified path

Additional information: Unable to cast object of type 'System.Int32' to type 'System.String'. - VB.NET

Could not find Biometric system that could send data directly to web server

VB.net object initializer array object

System.Net.WebException could not be resolved

<spyOn> : could not find an object to spy upon

NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type

Could not find implicit value inside singleton object

spyOn could not find an object to spy upon for all()

VB6 calling WCF: Could not find endpoint element

ASP.NET Core could not find views

Could Not Find "Microsoft.NET.CoreRuntime"

.NET 5 "Could not find a part of the path"

DLL Plugin system in VB.NET

How to Code Favorites system in VB.NET

Independent System Time for VB.NET or MySQL

VB. NET: System.NullReferenceException occurred

VB Net + Mysql + System.NullReferenceException