Question: how to add iwshruntimelibrary reference?
Answer: Select the Add Reference menu. From the Add Reference dialog, click the . COM tab and select the 'Windows Scripting Host Object Model' and click the 'Add' button. After you have done that, just paste this code into your project, and voilá, you're done! .