Home > Net >  How do you handle the error
How do you handle the error

Time:11-16





The operation of the generated no problem is wrong

CodePudding user response:

System. IO. FileNotFoundException: "Could not load file or assembly 'System. Data. Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The System cannot find the specified file,"

CodePudding user response:

Add reference ah, look at the classes from which namespace

CodePudding user response:

To add references

CodePudding user response:

Generally this error appears in the DLL is not under the same path or the main output and DLL projects cited a different version of the

Especially for plug-in or blog garden wind what abstract reflection factory

The solution
1, if the method is compatible with, directly modify congfing runtime configuration section specified using the same version of the
Method 2, if not compatible, or modify the config the runtime configuration section to specify different versions of the codebase to different paths to find DLL


Ps: this is an annoying thing, though the DLL hole assembly parts to solve the problem, but still keep the DLL search path problem

CodePudding user response:

This DLL is a mistake, you can delete the add, but there may be a version of the problem, to see whether the development on the FM version, just choose the version
Mentioned again and again, the blog member
reference 4 floor wanghui0380 response:
general this error appears in the DLL is not under the same path or the main output and DLL projects cited a different version of the

Especially for plug-in or blog garden wind what abstract reflection factory

The solution
1, if the method is compatible with, directly modify congfing runtime configuration section specified using the same version of the
Method 2, if not compatible, or modify the config the runtime configuration section to specify different versions of the codebase to different paths to find DLL


Ps: this is an annoying thing, though the DLL hole assembly parts to solve the problem, but still keep the DLL search path problem

CodePudding user response:

Reference is lost to add the reference

CodePudding user response:

refer to the third floor is nu month god reply:
to add reference

It is good to add references again
  •  Tags:  
  • C#
  • Related