I want to make a blank App (Apache cordova) in Visual Studio, but it is showing the following errors in the ActivityLog.xml
SetSite failed for package [ApacheCordovaToolsPackage]
End package load [ApacheCordovaToolsPackage]
Try first closing Visual Studio, then clear or rename your ComponentModelCache folder in the path %LOCALAPPDATA%\Microsoft\VisualStudio\12.0 (14.0 for Visual Studio 2015) and restart Visual Studio. Then, create a Blank App (Apache Cordova) project again.
Related
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."
After updating Visual Studio 15.7.1 into 15.7.3, I can't load my Xamarin solution that has a Xamarin.IOs project and a Net Standard 2.0 project.
The loading project window appears loading the projects, but it freezes on loading the first project and Visual Studio goes not responding. The only way to close Visual Studio at that point is by terminating it through the Task Manager.
Is there any way can I successfully open my Xamarin solution from Visual Studio 15.7.3?
This issue appears to be happening only when you try to open the solution through Visual Studio 15.7.3 itself. That is if you try to open the solution,
Through the recent link under Recent section of the Start Page in Visual Studio
Through the Open Project / Solution under Open section of the Start Page in Visual Studio
Through File > Open > Project / Solution... in Visual Studio
Solution:
If you navigate to the directory of the solution, then double click the solution file (.sln file) if .sln files are set to open with Visual Studio OR right click on the solution file and select Open with > Microsoft Visual Studio 2017
Then the solution along with the projects will be successfully opened in Visual Studio 15.7.3!
Note: There's a ticket requesting to fix this issue at, https://developercommunity.visualstudio.com/content/problem/266351/cant-load-xamarin-solution-after-visual-studio-157.html
Update:
After restarting windows, then you can reopen projects as before, directly through Visual Studio 😊
Disabled xamarin Extension
Restart VS
Reload droid project
Enabled Xamaring Extension
Restart VS
This worked for me
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
I have an issue in Visual Studio 2013 in that the package manager console will no longer initialize and shows the error
"Could not find file 'C:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\IDE\WSMan.format.ps1xml'."
I have tried renaming the Extensions folder and manually installing NuGet. I have run a repair of VS 2013 all to no avail.
Any ideas how I can fix this?
Please uninstall the NuGet Packages Manager for Visual Studio from Tools menu -> Extensions and Updates -> Installed -> NuGet Packages Manager for Visual Studio in Visual Studio menu and reinstall it in that menu again.
And others who also have this issue in another thread provide other workaround, please refer to:
Package Manager Console not working Visual Studio 2013
I created a blank app, saved, added a bower file from a project i want to merge in and then closed visual studio. Now I can't even open the project or Visual studio crashes. Anyone else running into this with CTP3?