When I try to open one particular project I get messages that VSTA project system package could not be loaded . I've enabled logging of VS2010 and discovered that this package can't be loaded because some files can not be found. I've done some searching over the internet and found out that VSTA is part of MS Office, and that there seems to be no separate installation distributive of VSTA. MS Office installation seems to include VSTA. My VS2010 is Professional edition and it has SP1 applied. What steps can I make to fix this error except reinstalling everything?
I've reinstalled VS2010 SP1 and it fixed my problem.
Related
It seems I managed to completely break my Visual Studio 2015 setup by uninstalling Nuget Package Manager. I uninstalled it in order to fix its inability to update anything. Now, when I try to launch VS I get a plethora of error messages, but the most important one seems to be shown on the image below as its showing no matter what fix I attempt:
Here are the steps I took before I started seeing the above error:
I have renamed the Extensions folder found at the following path:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and installed Nuget Package Manager for Visual Studio 2015 from the microsoft website.
New extensions folder was created and when I tried to run the application with nothing else in it I would get the error message above once on VS launch and once on project load. When I moved old package folders from the old extensions folder I would get a lot more error messages related to the packages.
I also noticed there is an Extensions folder found at %localappdata%\Microsoft\VisualStudio\14.0, but renaming the folder to something else and just having blank folder did not help either. Also, I saw somewhere else a possible fix to an issue I thought was similar by removing contents of the folder located at: %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache, but that didn't help either. Now with all this trying I am getting to a point where fresh install might be an only option.
UPDATE:
I guess I managed to overcome this issue by opening up this project in Visual Studio 2017. It worked without any issues, though when I originally cloned the repository from GitHub via Visual Studio 2017 it didn't work. Having said all that, I don't think its an answer I was looking for, but at least I can continue working on this project.
I don't know if my problem is OS related.
I installed and created a few projects in VS 2013 in Windows 7 and everything is working fine.
But my workplace wants us to upgrade to Windows 10. So I installed VS 2013 (the same way I installed it to my Windows 7 OS) then I tried to open some of my works and got the following error:
The 'NuGETPackage' package did not load correctly.
In ActivityLog.xml it was something like this:
Could not load file or assembly 'NuGet.Tools, or one of its
dependencies. The system cannot find the file specified.
I also checked Extensions and Updates, NuGet Package Manager for Visual Studio 2013 is in the list.
I tried to repair (in Control Panel > Programs) but still the error shows.
VS 2013 NuGet Package did not load correctly (Windows 10 OS)
One possibility is that Nuget package manager was destroyed after upgrade the system to windows 10. So please try:
Remove NuGet via Extensions and Updates.
Remove the existing NuGet.Config file held in c:\users\name\AppData\Roaming\NuGet
Restarting VS then re-installing NuGet via Extensions and Updates
Besides, try to close all Visual Studio instances, then delete all files in the following folder:
%localappdata%\Microsoft\VisualStudio\12.0\ComponentModelCache
Also you can check the more answer here: The 'NuGetPackage' package did not load correctly.
A few days ago now I tried to install the C++ packages for my VS2015 installation, but it wouldn't install them so I uninstalled the entirety of VS2015 and then reinstalled, but since then I've been getting tons of errors when I start the software, they are like this:
The 'Visual Studio Component Enumerator Package' package did not load correctly. The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file: 'C:Users\\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.
I've attached this log at the bottom of this post.
I get around 10 of these Package errors before I can finally load into the software, but then when I try to either open an existing C# project it says "Unavailable" or if I try to start a new C++ project it says
'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCWizards\default.vcxproj' cannot be opened because its project type (.vcxproj) is not supported by this version of the application. To open it, please use a version that support this type
I have tried the following to fix these issues, and every possible combination of these:
Uninstalling and reinstalling
Deleting my %appdata% in both Local and Roaming for VS 14.0
Deleting Program Files (x86)\Visual Studio 14.0
Repairing the installation
Uninstalling, cleaning registry, deleting everything I can find RE: Visual Studio and then reinstalling
devenv /setup, devenv /clearcache, devenv /uninstall /force and then reinstalling, every command line I've found anywhere.
I've been dealing with this issue for a few days and it has completely halted my development process and I'm unable to do anything with VS and it's gotten to the point where I'm extremely frustrated and not sure what to do next.
As far as I can tell there are a lot of packages missing from my installation, but Repairing my installation does not fix this. Is there a way to restore the packages?
Any assistance would be much appreciated, or is there a better forum to post this under?
Activity Log:
http://pastebin.com/pwTJQc4B
I included wix binaries to my TFS and everything works fine for me (I have got Wix installed) but other members of my team cant build an installer because VS2013 prompt an error that .wixproj cannot be loaded and show an migration report. This is expected because they dont have wix installed (read they have a fresh installation of VS2013).
To my understanding this shouldnt happen with the use of wix binaries checked in to TFS.
I followed this documentation post : http://wixtoolset.org/documentation/manual/v3/msbuild/daily_builds.html
and for me it works perfectly.
Help would be really appreciated. :)
I had an install issue with the NuGet package manager extension. I am now trying to remove it, but each time I do the remove, I come back to VS2013 PRO and it is still there (win7 sp1 box).
Is there a different way to remove it (I am getting errors whenever I try to open a project).
I ended up calling Microsoft support, and we spent about 45 minutes searching the registry for the particular version of NuGet (there was an old version installed that was not properly removed, keeping the new one from being installed).
We had to search by version id.
VS2013 does not only put things in:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions (with a random character folder name)
But also in %appdata%\Microsoft Visual Studio 12.0\Common7\IDE\Extensions as well as other places. So we had a lot of searching to do, but once we found it and removed the folder and all the old Nuget references from the registry, it was possible to continue and install the new NUGET Package Manager.
Today I found things were corrupt, (probably registry) but a REPAIR (From the install) was able to fix the problems