SHDocVw for .NET Core projects

285 Views Asked by At

I need to move my projects from .Net Framework 4.7.2 to .Net Core platform, and I have difficulties to resolve the problem with code in part of using SHDocVw library.

I have such string of code:

using SHDocVw;

...

var list = new ShellWindows().Cast<InternetExplorer>().ToList();

and compiler fails on "ShellWindows()" and "InternetExplorer" with next message:

The type or namespace name 'ShellWindows' could not be found (are you missing a using directive or an assembly reference?)

What Nuget package is required to resolve this problem, either what class and methods can be used instead of current?

0

There are 0 best solutions below