I have the below issue since few days back.
This only happens to Android Project.
Visual Studio 2017 V 15.9.26
I have tried the following method:
delete bin and obj folder
clear cache for visual studio
repair visual studio
fresh installation for visual studio
I even downloaded Visual Studio 2019 but i am also having below error when building Android Project.
"System.IO.IOException: The process cannot access the file 'different ddll file' because it is being used by another process."
Related
When i try open Visual Studio, I immediately receive an error message. The message only tell me to open a xml file to receive more informations.
The directory of the xml file is C:\Users\User\AppData\Roaming\Microsoft\VisualStudio\15.0_ae456ee1\ActivityLog.xml
I already tried some possible solutions, like delete the privateregistry.bin file, on this directory: C:\Users\User\AppData\Local\Microsoft\VisualStudio\15.0_ae456ee1. But when I delete this file and try open Visual Studio, instead of receive the error immediately, the logo of Visual Studio appears, then the error message appears and the privateregistry.bin file is re-created.
This problem first happened in the Visual Studio 2017 Community. I reinstalled this version and downloaded Visual Studio Professional, but the error continues.
Repair Visual Studio 2017
Sometimes your Visual Studio installation becomes damaged or corrupted. A repair can fix this.
Find the Visual Studio Installer on your computer.
For example, on a computer running Windows 10 Anniversary Update or later, select Start,
and then scroll to the letter V, where it's listed as Visual Studio Installer.
Note
On some computers, the Visual Studio Installer might be listed under
the letter "M" as the Microsoft Visual Studio Installer.
Alternatively, you can find the Visual Studio Installer in the
following location: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe
Click or tap to start the installer, then select More, and then select Repair.
My exact issue was for an Unreal Engine 4 solution. The problem was the the intermediate folder was moved, and a new one re-generated. Instead of having to re-generate project files (from the .uproject), I simply deleted the auto-generated intermediate folder and replaced with the moved/old version (which included the build files from an initial project generation from the .uproject).
It is at least better to try a solution other than repairing the install, as that will delete external plugins and preferences...
I was trying to update VS 2017 to 15.6.2 version. As usual VS asked me to update the Installer. But the Installer updating failed and now, when I try to launch the VS updating again, I get this error message:
Error loading vs_installershell.exe: No signature was present in the subject.
Anyone has ever seen this before? Any help will be appreciated.
Microsoft recommends the following procedure in this case:
Close the Visual Studio Installer.
Delete the Visual Studio Installer directory. Typically, the directory is C:\Program Files (x86)\Microsoft Visual Studio\Installer.
Run the Visual Studio Installer bootstrapper. You may find the bootstrapper in your Downloads folder with a file name that follows a vs_[Visual Studio edition]__*.exe pattern. If you don't find that application, you can download the bootstrapper by going to the Visual Studio downloads page and clicking Download for your edition of Visual Studio. Run the executable to reset your installation metadata.
Try to install or update Visual Studio again. If the Installer continues to fail, go to the next step.
There is also a bit of warning:
Performing the following actions reinstalls the Visual Studio Installer files and resets the installation metadata.
But in the end, it reinstalls the VS Updater.
Source: https://learn.microsoft.com/en-us/visualstudio/install/troubleshooting-installation-issues
Got a big problem with the Visual Studio 2017 Installer Projects Extension for Visual Studio 2017 Professional. I added a Visual Studio Installer Setup project to a solution and set it up the way it's basically supposed to be done (Primary Output in the Application Folder and an icon in the Desktop Folder is all that was needed). Then I right-clicked on the Setup project, clicked "Build" and then I get this:
Please wait while Windows configures Microsoft Visual Studio Professional 2013.
And then it stalls indefinitely. I have to close Visual Studio in Task Manager to stop everything. What's more, I'm Visual Studio Professional 2017, not 2013. I used to have Visual Studio 2013 Ultimate, but I uninstalled it. What could possibly be causing the confusion?
It appears that you have also got Visual Studio 2013 installed, and that there is as conflict between 2013 and 2017 because that message is a Windows Installer repair of VS 2013. Something is happening during your build that requires the VS 2013 installation to be repaired. The Windows Event Log (Application) will have an MsiInstaller log entry saying which component appears to be broken. If you post that information there may be a clue to the problem. If you (for example) have manually removed anything that may belong to the VS 2013 installed product then that would cause the same kind of problem.
You have this similar problem:
Rebuilding Visual Studio Installer project, launches Visual Studio 2013 seetup
Visual Studio 2015 msi build initiates another installation
When you say it stalls indefinitely, I would expect it to ask for the Visual Studio 2013 install image so that it can repair it. If you go to Programs&Features and manually repair VS 2013 it might fix the problem.
I also had Visual Studio 2013 installed as mentioned by #PhilDW.
Navigating to Event Viewer → Windows Logs → Application I found loads of warnings:
Detection of product '{9C593464-7F2F-37B3-89F8-7E894E3B09EA}', feature 'Visual_Studio_Professional_x86_enu', component '{E3FF99AA-78B9-4A06-8A74-869E9F65E1FE}' failed. The resource 'C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\' does not exist.
The key here being that the folder C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\ did not exist thanks to an answer in the first link provided by #PhilDW.
Created the missing final folder URTInstallPath_GAC in the path mentioned and the installers now build really fast whereas before they used to take forever (sometimes literally!).
Visual Studio 2017 Enterprise installation stucks at Win10SDK_10.0.14393.795 In Process Monitor it shows message result No such file Path %AppData%\Local\Microsoft\VSApplicationInsights\vstelAIF-312cbd79-9dbb-4c48-a7da-3cc2a931cb70*.trn I tried to put empty file a.trn in folder vstelAIF-312cbd79-9dbb-4c48-a7da-3cc2a931cb70 and after that it says error Invalid name parameter. I first tried to install Visual Studio 2017 beside Visual Studio 2015 then I tried to uninstall Visual Studio 2015 and install Visual Studio 2017 and same problem happens.I tried to skip Win10SDK_10.0.14393.795 but then in stucks at Microsoft.VisualStudio.Debugger.JustInTime with same message.
I've encountered similar hangs with various Visual Studio operations (including installation) in the past.
The solution has been to create an empty file in the directory (or directories) it's looking for with a .trn extension. For whatever reason this satisfies it and it's able to progress past this point.
I got the Visual Studio Professional 2015 Update 3 and launched the executable (vs2015.3.exe) while Visual Studio was still running. I got the following "Setup warning" but thought that a computer restart was fine as long as I could work during the update.
Please close visual studio now to reduce the chance that a computer
restart will be required later
Visual Studio immediately started acting strange, loosing Intellisense among others. I decided to restart Visual Studio and was then met with the error:
Cannot run when setup is in progress
I then canceled the update and thought that I could install this update during the night instead. When I opened Visual Studio again and tried to load a project I got the following error:
Project '' could not be opened because the Visual C# 2015 compiler
could not be created. Please re-install Visual Studio.
I then opened Update 3 executable again to complete the update. I was met with this feature list and could not do anything:
Restarted the computer but was met with the same dialog. I then opened Visual Studio again and this time the project loaded but without Intellisense. Restarted Visual Studio and now the project would not load at all. I then deleted the content of these 2 folders and ran devenv /resetsettings
C:\Users\%USERNAME%\AppData\Roaming\Microsoft\VisualStudio\
C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
I could now open the Visual Studio project normally again but I still could not get features when running the Update 3 executable. Is there anything else I can do or do I need to reinstall Visual Studio completely? I think it is really bad that the warning Microsoft gives is that a computer restart might be required when obviously the program cannot run in the background while updating.
Solved it by going to Control panel -> Programs and Features -> Microsoft Visual Studio Professional 2015 with Updates. Click "Change" and then select "Repair".