Panos Metaxas

Panos Metaxas

  • 1.6k
  • 140
  • 1.9k

IWshRuntimeLibrary is not recognized by Visual Studio

Oct 5 2023 3:43 PM

Hi! I am writing a C# WinForms program that needs to create a shortcut from the shell:appsfolder folder. I am trying to use the IWshRuntimeLibrary, but Visual Studio 2022 marks it as an error, although I have added the reference Windows Script Host Object Model to the project. I have even tried to manually add the DLL interop.iwshruntimelibrary.dll to the project as an asset, but no good. Please help!


Answers (2)