Issues with the intelisens and analysis errors when changes occur in a referenced assembly
In my team we are working currently on a project that consist of multiple visual studio solutions which are dependent on each other, for example the solution A produces libraries that are referenced in the solution B. The problem is that whenever the solution A is rebuilded the solution B needs to be reloaded because the Reshaper intelisens and code inspector are not working and it is hard to work without theme.
I am wondering if there is another option to reload the resharper cache without restarting the solution?
BTW: I know that this type of dependencies between solution is not the best option, but it works for us and my colleagues don't encounter such a problem because they are not using Resharper
Please sign in to leave a comment.
Hello Roman,
ReSharper should handle this situation correctly and there should not be
a need to reload the project. Which version of ReSharper are you using? Could
you please describe exact steps that lead to false errors in solution B?
Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
I think I know right now what is the issue.
A detail that I haven't posted previously is that we are referencing the libraries in the solution B not directly from the build ouput folder of the solution A but from a folder where we store all libraries for a given solution. To deploy these libraries into this folder we are using a msbuild script. The issue lies in this script because it is deleting the whole folder before copying the newly compiled libraries.
Evrything works fine if I remove the build script step where the directory is removed. It looks like resharper is getting a notification that a file(or a directory) does not exists and that is the reason why resharper loses the intelisens and the analysis errors occur. Could you confirm that?
Hello Roman,
I've assigned a task to our QA engineer: http://youtrack.jetbrains.net/issue/RSRP-199470
and we will try reproducing this behavior on our side. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi,
Thanks for the detailed information but unfortunately I couldn't reproduce this on my side. Could you please try to reduce your solution (with your structure) to the smallest one and send it to me Kirill[dot]Falk@jetbrains[dot]com. Great thnx in advance!
--
Kirill Falk
.NET Team QA Lead
twitter : masterqa
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"