Closed jakubsuchybio closed 8 years ago
Hi Jakub What version (and update) of Visual Studio are you running? Does this error occur reliably every time? What is the macro code that is triggering this bug? (Would you mind sharing the Macro code?) Justin
Hi Jakub, by any chance are you on the Windows Insiders program? If so, what build of Windows 10 are you running?
And can you check whether the file \Program Files (x86)\microsoft.net\Primary Interop Assemblies\stdole.dll exists on your machine?
We've seen a few instances recently where stdole.dll either got deleted or removed during build-to-build upgrades. Depending on your answer, I have a few potential solutions for you...
Thanks! Can you try running gacutil -i "%ProgramFiles(x86)%\Microsoft.NET\Primary Interop Assemblies\stdole.dll"
and then relaunch Visual Studio?
Yep that fixed it. However your path didn't work, so I had to put there absolute one. Thanks! Just for future uses:
cd c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\
./gacutil.exe -i "c:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\stdole.dll"
This v10.0A\bin\NETFX 4.6 Tools\
can be something else (other versions)
Glad it fixed it, Jakub. Thanks for reporting back.