The dependency 'Interop.Scripting' could not be found.


Badge +1
Hi,

error: The dependency 'Interop.Scripting' could not be found.

i had founnd this error when i tried to build the smartform in the visual studio. i can still run the smartform properly(currently) even i had this error.

the other client's pc also had these error. :roll:

Please check it out.

thanks.

2 replies

Badge +2
Hi

It is a warning message that is displayed because one of the dlls that the K2SmartForms.dll depends on needs that interop for some operations that are not used in the Smartforms project. Your project will work 100% fine without this interop.

*edit* If your compiler treats this as an error. Set the Solution properties by right clicking on the solution and navigating to Configuration Properties and under the Build section uncheck the 'Treat Complier Warinings as errors' check box.

Cheers
Badge +9
Just a tip to get rid of the warning. Add a COM reference to the Microsoft Scripting Runtime dll (C:WINDOWSsystem32scrrun.dll) and recompile your project. This should remove the compiler warning.

Reply