the file %CommonDir%\publish.tlb could not be loaded - visual-studio-2010

Every time I install and try to launch Microsoft Visual Studio 2012. I get the following popup with the following message:
the file %CommonDir%\publish.tlb could not be loaded. An attempt to repair this condition failed because the file could not be found. Please re-install the program.
I have tried re-installing it a number of times but I still the message above. I have researching it but I can't seem to find anything. Does anyone have an idea, how this issue could be fixed?

Please run this command from the command prompt by typing windows+R key:
devenv /resetuserdata
The problem should get fixed.

Related

How to fix libcmcurl.dll not being found when trying to use cmake?

Haven't found anything online as most threads are focused of libcurl rather than libcmcurl.
For some reason my Cmake stopped working in Windows 10. I have tried uninstalling it and reinstalling, however even basic commands like cmake --version return the following error message:
cmake.exe - System Error
The code execution cannot procees because libcmcurl.dll was not found.
Reinstalling the program may fix the problem.
I tried running cmake --version when cmake was uninstalled and got the same error message.
Not sure what the source of the error was since even google refuses to show results for this file (defaults to libcurl.dll), however I think I solved the issue by repairing the Visual Studio 2019 install.
Open Visual Studio Installer
Click More
Repair
Worked after that.

Issue installing Microsoft Visual Studio Professional 2017 - "A product matching the following parameters cannot be found" during installation

This error presents itself immediately upon first launch of the program following the attempted install.
click to enlarge
I have ran %programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe -full and then re-ran the installer and the issue still presents itself.
I have tried the solutions here and they did not resolve my issue.
I also tried both of the answers here.
Any guidance here or things to try next will be very helpful!
Here are my log files from when I tried this in March. They're old, but re-running this installation still shows the exact same error.
https://pastebin.com/7D2JwGKF
for i in 12 do this.function
try this one
Open a command prompt with admin privileges
Run following command (this will clean up previous install cache. -full option is important) "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe" -full
Restart the installer
A product matching the following parameters cannot be found during VS Installation

VisualStudio crash on startup - Error:"streamjsonrps.remoteinvocationException: could not load file or Assembly System.Linq"

I'm getting error message when start Visual Studio 2017 Community version.
At crash with below error message:
Could not start visual studio due to an error.StreamJsonRpc.RemotelnvocationException
Could not load file or assembly System.Linq, Version=4.O,O.O,
Culture= neutral, PublicKeyToken= bO3f5f7f1 1 d5Oa3a or one
of its dependencies. The module was expected to contain an
assembly manifest.
I re-install visual studio, but still getting same error message.
Any help will be appreciate.
I had a similar issue workaround. try this command in the in run window "devenv /ResetSettings"
Please follow the following
1- Stope any antivirus
2- Open Developer Command Prompt for VS 2017
2- run "devenv /nosplash"
I hope this can fix the issue

install White error using Nuget in Visual Studio 2015

I try to install white in VS 2015, using the command
Install-Package TestStack.White
But it always show the error message below:
I already tried following to fix the problem, but can not work:
1) uninstall the visual studio, and reinstall
2) remove the nuget and install again
How do I fix this problem?
Anyone has idea of how to fixing this problem?
You should use this command with a solution is open in Visual Studio 2015. Just as the error message mention that “Install-Package : The current environment doesn't have a solution open.”, If you do not have a project that is open, nuget does not know where to install the package.
You can check my test results below, the first installation without a solution open, then second installation with TestStackWhite solution open:
Hope this can help you.

How can I get Crystal Reports for VS2010 to install?

Every time I try to install (5 attempts) I get:
Error 2753. the File "agent.exe.6ED28686_7b19_420c_b255_5b6c1bd2c705" is not marked for installation
I've tried uninstalling, deleting the install folder after installing, clearing out temp files, restarting the machine and making sure I run the setup as administrator but I get this every time. I've even followed some advice about putting the installer files in c:\cr4vs2010 but to no avail.
The customer I'm developing for has Crystal skills so no other reporting engine will do.
EDIT
Found out about the FLEXnet transformer that fixes the above error. However, on completion of the install I get an error "The operation could not be completed" in a dialog box headed "Visual Studio".
I've fixed it I think. I now have Crystal Templates.
To fix.
Get the Flexera tool at
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q207355&sliceId=
Run the tool as instructed and install the two msi's using it. I did the VS install first, then the 64-bit runtime.
After getting the "The operation could not be completed" error and installing both msi's, open up the Visual Studio Command prompt, ensuring you elect to Run as Administrator.
execute the command line devenv /installvstemplates. This takes a few minutes.
That fixed it for me.

Resources