Click here to Skip to main content
15,911,530 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Could not load file or assembly 'Interop.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

What I have tried:

tried to run autoscan project but i keep getting the below error message 
Posted
Updated 20-Nov-20 3:23am

Make sure that the reference is present and any dependent assemblies are referenced appropriately in project

Some solution:
if reference is presented check the properties and make sure
references have the property "SpecificVersion" set "false".
remove the reference 
add the reference again
clean the solution
rebuild the project
 
Share this answer
 
Quote:
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
You are trying to use an assembly built in a newer runtime than the one your project is targeting, and it is not backwards-compatible.

Update your project to target the correct version of the runtime.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900