How to stop "Update Background Files"? - c#

I keep seeing a progress bar at the bottom right of my Visual Studio 2015 environment that constantly appears each time I'm typing that says "Update background files". I've narrowed it down to being related to Resharper, but I can't figure out why this happens or how to turn it off! I've tried to clean all caches but it doesn't help.
The process is very slow and annoying. Anyone know how to stop this from happening? I'm using the latest version of Resharper v9.0.1 on Visual Studio 2015.
Thank you

ReSharper 9.0.1 does not support the latest builds of Visual Studio 2015 (AFAIK it supports first builds of VS2015 Preview). So you need to install at least ReSharper 9.2 to support VS2015 RTM or ReSharper 2016.2 to supports VS2015 Update 3.

Related

UnityProject\Packages\com.unity.test-framework\UnityEngine.TestRunner\Files could not be found

I've just downloaded and installed the newest version of Unity (2019.2.3f1) and integrated my Visual Studio into the project for script editing. However I can't attach any scripts to Unity because of the title error. Do I need to perform some additional setup or include extra dependencies to get this working?
Thanks
This is a hard to pin down bug, but in general, people have seen success when they update to a more recent version of Visual Studio.
Update to a newer version of VS 2017 or update to a recent version of VS 2019.

Visual Studio doesn't build App packages any more

I don't know why but after upgrading Microsoft to the insider preview version. I know, it's always a bad idea to update anything but had to do it to get the new MR Headsets to work...
I downgraded again after visual studio was unable to create any app packages. And it still doesn't work.... tried to repair visual studio and still nothing. I know it's a VS issue because i can't even build older projects which always worked and which i haven't touched.
And now after reinstalling it tells me that the package is unavailable and that i should install windows10 sdk even tho i installed it 100x already.
Edit: I'm also constantly getting this error:
And even after installing the file suggested below nothing works.
I don't get my Microsoft keeps building shit that never works..
Sounds like you should try the last resort:
https://learn.microsoft.com/en-us/visualstudio/install/remove-visual-studio
Use the InstallCleanup.exe to remove all things
There are known issues with using visual studio 2017, when doing hololens development, my stable environment is visual studio 2015 Update 3.0.0 and Unity 5.5 0f1. These I know will work together. Also, if you are trying to use the hololens toolkit, you will also have issues with the new versions of Visual Studio. So you will want to take the Dev branch and not master.

Installing Visual Studio 2015 Update 1 give me lots of : "package did not load correctly"

I installed VS2015 with update 1 on Windows 7 Entreprise English over Visual Studio 2015. The setup result was some error(s). I Restarted my machine and run the setup again. The setup completed successfully.
Note: that I had Resharper installed on first setup and I removed before retry the setup for the second time (which succeeded).
After re-installation, I got many message box with "package did not load correctly".
Example:
Now my visual Studio 2015 with Update 1 is totally upside down??? I got error message on start (package did not load correctly):
Python Tools Package
XamarinShellPackage
And many more when loading a project (package did not load correctly):
CollaborationPackage
...
Any idea on how we can solve that problem???
Update: I'm trying now to uninstall and then re-install again with Visual Studio 2015 with Update 1...
I fixed my problem by uninstalling Visual Studio 2015 completely and re-install VS2015 with Update 1.
I found this, maybe that can solve your problem:
Packages not loading after installing visual studio 2015 RTM
By
Shittu Joseph Olugbenga
All i did to get it working was to follow this step:
1.Close all instances of Visual Studio
2.Delete everything in this folder C:\Users\\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
3.Restart Visual Studio
Though I have not tried this for 2015, I believe this should solve the
problem too. To do this for visual studio 2015, 12.0 should be changed
to 14.0
I had to do a combination of the other answers, none of which was uninstalling VS
I renamed C:\Users\{User}\AppData\Local\Microsoft\VisualStudio\14.0
started VS2015
closed it down
did the binding redirect for System.Collections.Immutable from https://stackoverflow.com/a/34018770/57883
Then I've been copying the extensions I think are safe over and seeing if projects all still load.
Try restarting the computer. It was what fixed the issue for me (which appeared right after modifying my installation, and I had not restarted the computer).
Close Visual Studio
Delete following folder C:\Users\%username%\AppData\Local\Microsoft\VisualStudio\xx.x\ComponentModelCache
and file
C:\Users\%username%\AppData\Roaming\Microsoft\VisualStudio\xx.x\ActivityLog.xml
Restart Visual Studio
Uninstall and re-install visual studio 2015

Visual Studio 2013 Update 2 RC isn't installing ( Error: Update 2 RC does not apply, or is blocked by another condition on your computer.)

This is the error image and the next image shows i have VS2013 installed with Update 1
Visual Studio 2013 Update 2 RC error:
http://1.bp.blogspot.com/-tLiGHIoOHHg/U1dWwhMG7qI/AAAAAAAAAek/CA_VCulggd0/s1600/Error.png
Proof of Visual Studio 2013 Update 1:
http://2.bp.blogspot.com/-gs3zPKsS8K8/U1dWxHHmg7I/AAAAAAAAAes/8HP-7FTaBnw/s1600/Visual+Studio+Update+1.png
I had the same problem when installing Update 2 for my Visual Studio Express 2013 for Web.
The reason in my case was because before the installation I was doing some housekeeping and deleted content of this folder c:\Users\All Users\Package Cache\
When I restored it back, there was no error message and the installation was successful.
That means, you might have missing bundles and your installer is not happy with that. In my case I had a backup but if I haven't had I would need to reinstall my Visual Studio Express 2013 for Web so all is good and in place and then installation of the update should be hassle free.
More less the same as mentioned in the article from the link above. Thanks Keval.
The above answer never helped me.
The problem was my Operating System wasn't detecting my Visual Studio 2013, even though i tried to reinstall it, instead it was already installed but was never detected by computer.
I used cmd to uninstall VS2013 by command eg. "uninstall c:/...devenv.exe /Force" and then again installed VS2013 and applied the update

Resharper 7.1, Mixed Versions of DevExpress in VS2012 Ultimate Crashes

After a recent purchase (Apr 2013) of Resharper 7.1, although the VS IDE did not crash, The Visual Studio IDE Editor demonstrated strange behavior when refactoring code. My first instinct was to disable Reshaper refactoring since Visual Studio Ultimate has DevExpress installed and there might have been a conflict. From the Visual Studio IDE, I selected the Resharper\Options\ and a dialog displayed a message that Developer Express 7.1 was executing in Trial Mode. The dialog had "Trial Version" for a Serial Number.
I found this odd as I am running DevExpress 12.2.
I checked the Resharper installation directory and found DevExpress - 7.1 DLLs. I also noticed the DLLs had been altered in Jan 2013.
Apparently, the Resharper extension was distributed with DevExpress trial DLLs, I immediately uninstalled Resharper and a refund request in process.
Since uninstalling Resharper, the Visual Studio IDE crashes (with the typical message to generate a Microsoft Error Report). Visual Studio restarts.
I then uninstalled Visual Studio, DevExpress 12.2 (DX and CodeRush).
The environment still crashes...
I am posting this with hope that another developer might have a solution or can recommend steps to help me diagnose these crash events.
Thanks!
Tim Peer

Categories

Resources