After I uninstalled Resharper 5.0 and installed the latest 6.0, code analysis stopped working on VS 2010 (on vs 2008 it still works).
During investigation I noticed that Fonts and Colors is also not showing Resharper's items.
I tried clearing the Registry value at HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\FontAndColors\Cache and it didn't work.
I tried uninstalling 6.0, resetting VS's settings, reinstalling 6.0.
I tried then repairing the installation for 6.0.
I tried disabling stylecop plugin for resharper.
I tried clearing the cache for the solution I'm working.
I tried creating a new project to see if it was yet something else related to my project.
I tried looking at the VS startup log, resharper starts with no errors.
I tried uninstalling 6.0 and installing 5.0 again, 5.0 is still working with code analysis and has fonts and colors configuration.
New ideas are welcome.
Could you run Visual Studio with the following command line: 'devenv /ReSharper.LogFile C:\resharper_log.txt /ReSharper.LogLevel Verbose'.
After that, please create a new Class Library solution, verify the issue and send me a corresponding 'resharper_log.txt' file to "support[at]jetbrains.com".
Thanks.
Alex Berezoutsky,
Support Engineer,
JetBrains Inc.
"Develop with pleasure!"
Related
I recently installed the newest version of Visual Studio, and when I ran it, I came to this screen. So far, I tried to rollback, which just corrupted the Visual Studio install, and which to fix was to re-install the new version, which seems to be the culprit. I have also tried to copy the image library cache file from the profile of the admin account that was used to install VS 2017 into the profile of the development account. This also, did not solve my problem. I did try and update my NVIDIA driver. This did not solve my issue. Can someone offer me an alternative course of action?
Have you tried to completely uninstall and re-install? Sounds like your 'update' didn't work out right.
We are running into a problem opening our MVC5 solution in Visual Studio 2017. It will show a message saying loading projects, followed by "Preparing solution" and then it just freezes. Some preliminary research has lead to suggestions like
Remove the hidden .vs folder
Repair installation by running as admin
Updating to the latest released VS build
Remove any node.js type folders that have deeply nested folder structure within the solution folder
However, none of these have worked. Has anyone else run into a similar problem using VS 2017 with their solution? There are no special commands on packages loaded on startup.
I was able to finally get it to work. I updated to the latest Visual Studio build 15.0.0+26228.10, but that did not seem to help. After removing my .vs folder before opening the solution multiple times, it finally started to load. I have no 3rd party extensions or tools running.
I installed visual studio enterprise 2017 version 15.0.0+26228.10. and productivity power tool extension. the studio keep crashing when load project. I uninstall everything and reinstall vs only, the crash problem disappeared.
Deleted the vs folder, but it didn't work.
Looked for recently changed files in the project, saw Web.csproj.user — when I removed this the project works again.
Visual studio 2017 keeps crashing when i try to launch it,all i did was to launch visual studio installer go to more which is under the product am using then clicked on repair and that got me running again.
We saw some lockups, especially during the start of Batch Builds, until we set this experimental feature to False:
Tools > Options : Text Editor > C/C++ > Experimental : Enable Faster Project Load.
I don't know whether it could apply to your problem or not, but it is related to loading projects, so...
Good luck.
I had the same issue and uninstalled the ankhsvn subversion plugin then closed and re opened vs 2017 ad it worked.
I have installed Win10, Visual Studio 2015, Python 2.7, Python 3.5 and PTVS 2.2.3.
Unfortunately PTVS does not work at all. I can not load any Python projects that were loading previously in Visual Studio. It worked before I installed Python 3.5. I tried to uninstall Python 2.7 and get an error saying that the uninstall didn't success. After several tries, the problem appears to be around pip which is somehow blocking both install and uninstall of Python 2.7.
When trying to open Python Tools from Tools menu, nothing happens. Neither window opens nor any error message is displayed. Python Environments window does not open even with the shortcut.
In Tools > Options > Python Tools, the only text shown is: "An error occurred loading this property page".
When I try to load/reload the Python project, the message is: "error : Expected 1 export(s) with contract name "Microsoft.PythonTools.Interpreter.IInterpreterOptionsService" but found 0 after applying applicable constraints." This has already been posted for 11 days ago, but no one has answered.
To solve this, I would like to know how to make the Python Environment window appearing in Visual Studio.
Thanks for any help.
VS keeps a cache of loaded assemblies that doesn't always get
invalidated when it should.
If you delete
C:\Users\You\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
and restart you should be fine.
src: https://github.com/Microsoft/PTVS/issues/1388
You'll need to open the ActivityLog.xml (%APPDATA%\Microsoft\VisualStudio\14.0\ActivityLog.xml) and see if there's any exceptions there related to PTVS.
It sounds like you have a pretty messed up configuration at this point. You could try uninstalling PTVS and re-installing it, but my guess is your messed up Python installs are somehow throwing PTVS off and causing it to crash somewhere.
I`m also having similar issues, first installation path:
Visual Studio 2015 Pro with Update 1
Installed PTVS using the VS2015 installation setup later on
Everything work fine
The issues started:
Installed a DEV version of PTVS from their github page
My pyproj stopped loading saying a migration needed
Noticed that after new PTVS installation, I`ve installed VS2015 Update 2
Not being able to reload my project after trying to debug the issue, I`ve decided to:
Uninstall PTVS and
Reinstall PTVS through VS2015 setup
Now the issue was different, while trying to load my previous pyproj or even creating different Python projects using multiple templates. I was getting this error:
"There is a missing project subtype. Subtype: '{1b580a1a-fdb3-4b32-83e1-6407eb2722e6}' is unsupported by this installation."
Not finding anything around this, I`ve:
Uninstalled Visual Studio 2015 (having Update 2)
Reinstalled Visual Studio 2015 with Update 1 (without checking PTVS, who requires VS 2015 Update 2 to be installed as well, I suspected it has something to do with it)
Installed PTVS latest stable version from their Github
Now Visual Studio is crashing while trying to load the past mentioned pyproj, with the same error as OP:
SetSite failed for package [Python Tools Package][Expected 1 export(s) with contract name "Microsoft.PythonTools.Interpreter.IInterpreterOptionsService" but found 0 after applying applicable constraints.]
Still trying to fix it at the moment.
Maybe these steps will help debugging the issue.
Update / Fixed
After installing VS 2015 with Update 1 and PTVS 2.2 for VS 2015, I was still having issues opening the pyproj causing VS to just crash (unfortunately nothing in ActivityLog.xml).
I've tried repairing Visual Studio through it's setup, still the same issue.
Finally, I've decided to re-update Visual Studio 2015 to Update 2, causing also to update PTVS to March release, all through VS setup utility.
And now my pyproj correctly opens. Probably some versions miss match during the initial steps where I've installed a DEV version of PTVS. Not sure which step actually corrected my issue but it did.
Hope this will help somehow other people with similar issues.
Thanks for your posts.
My problem was fixed after I installed VS 2015 update 3 which included a new release of PTVS (June 2.2.40623).
I have Visual Studio 2015 Enterprise, version 14.0.24720.00 Update 1 as well as ReSharper 10 Ultimate, version 10.0.2 installed. I have a typescript file that is using AtScript syntax to refer to the Angular2 directive module, as its annotation. However, ReSharper is stating the following error:
Symbol 'Directive' cannot be properly resolved, probably it is located in inaccessible module.
Below is the full error tooltip.
The application compiles and runs as expected, and the angular portions of the application also function as desired. It appears as though this is a ReSharper false negative. Is anyone familiar with a workaround other that simply disabling ReSharper or ignoring the warning?
The issue is simply a bug with the latest version of ReSharper, if you Suspend ReSharper the issue simply goes away and all the source code works as expected.
Update
This has since been addressed in the ReSharper 2016.1 version.
As a workaround, if you are using angular2 from your node_modules folder, then you can reference it directly instead of relying on the new node module resolution. For example you can do:
import {Directive} from '../../node_modules/angular2/core';
As of 02/2016, the issue is fixed in the ReSharper Ultimate 10.1 EAP 3
this version still has some other typescript issues though
Original answer, explaining why it couldn't work in previous versions:
Had the same setup and same issue. I strongly believe this is related to: "moduleResolution": "node"
https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FRSRP-273158
Unfortunately, no way now. We're working on node.js support for the next ReSharper version.
If updating to latest ReSharper version does not work and this only affects .js(x) and .ts(x) files you only need to suspend those. You can do that by going to ReSharper -> Options -> Unclick JavaScript and TypeScript.
It could be Resharper problem. disable it from tools->option->Resharper Ultimate->General->Suspend Now and the errors will be hide.
I was getting the same problem on one of my modules on Resharper 2017.1 in Visual Studio 2017.
But after updating my Resharper to 2017.2.2, that solved the problem.
I am having an issue with Visual Studio 2015 RC and IntelliSense when running the MVC6 vNext project template. The project builds and runs just fine and nuget restores packages if I manually remove them. The issue is that VS 'shows' that it cannot resolve my using statements throughout the project, thus breaking intellisense. Has anyone had this issue where it builds and runs fine but does not show the using statements as resolved?
OK, figured it out. Suspending resharper removed the red text, but still no intellisense. Tried to update resharper via the resharper menu in VS, this failed. Manually installed version 9.1.1 of resharper over version 9.0.0, this made everything happy again (full install removed previous version of resharper).
You need to use ReSharper 2016.2 or above to support .net core.
You can use the early access version available from https://confluence.jetbrains.com/display/ReSharper/ReSharper+2016.2+EAP
This is an issue of Resharper 9. Don't use Resharper 9 with MVC 6. It will suggest you the wrong path when you import CSS or JavaScript file to your page, as I said in this question.
So, the solution is: update to Resharper 10. However, there are many problem remains when using Resharper with MVC 6.