Visual Studio Crashes while opening cordova project - 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?

Related

The “ResolveLibraryProjectImports” task failed unexpectedly. System.IO.IOException

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 upgrading Unity3D project from 2019.2.12f1 to 2020.3.1f1 Visual Studio Projects flooded with CS518 errors

I installed Unity 2020.3.1f1 and upgraded one of my Unity projects to this version from 2019.2.12f1. In the Unity Editor the upgraded project built and ran and everything seemed fine.
However, when the project was opened Visual Studio 2019 hundreds of errors were flagged - the majority being CS0518 errors with messages like "Predefined type 'System.String' is not defined or imported".
Editing the Project code in Visual Studio is now impossible!
How do fix this problem?
I was able to correct this problem as follows:
Close Visual Studio
In Unity Editor 2020.3.1f1 : Edit->Preferences->External Tools
Button under Generate .csproj files Regenerate Project Files
After running Regenerate Project Files I opened Visual Studio 2019 again and the floods of CS0518 errors were gone. The VS projects behaved normally.

Can't load Xamarin solution after Visual Studio 15.7.3 update

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

Working in Visual Studio Professional 2015 while updating to Update 3 - Visual Studio starts to fail

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".

Apache cordova setting in visual studio

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.

Resources