![]() But Somehow I got an easy solution for me. "HRESULT E_FAIL has been returned from a call to a COM component"Īnd I could not open the designer view. While developing this sometimes if I run the program to check, it showed the error So if I installed the exe file in the other software it actually install all of its resources and run the program fine. I made the file properties as "content" and "copy if newer" to make deployment. I wrote a simple program to open different folder while clicking on some specific buttons. Now restart VS2017 and try to add a reference to your project again and you should see the Add Reference dialog appear.įor more clarification please follow below link Version 9.0Ĭopyright (c) Microsoft Corporation. Gacutil -i .11.0.dllĬ:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies>gacutil -i .11.0.dll Run the following command to register the assembly in the GAC: Mine was:Ĭ:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies Open the Develop Command Prompt for VS2017 (ensure you run the as administrator otherwise the GAC registration may fail)Ĭhange the current directory to the PublicAssemblies folder for your Visual Studio 2017 installation. ![]() You can follow these steps to register this assembly in the GAC: ![]() It seems that to bring up the Add Reference dialog in Visual Studio 2017 the .11.0.dll needs to be regsitered in the GAC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |