Problem with resharper caches

Every time I open Visual Studio, I get a dialog that says "Object reference not set to an instance of an object". After that, resharper highlights as an error every class that it not in my solution (including all of the System.* namespace).

The only way to get rid of this is to close Visual Studio, clear out the resharper caches directory and then restart visual Studio.

9 comments
Comment actions Permalink

Adrian,

could you please post the exception that appers when you open VS to the
tracker?

"Adrian Banks" <no_mail@jetbrains.com> wrote in message
news:109938.1087839135858.JavaMail.itn@is.intellij.net...

Every time I open Visual Studio, I get a dialog that says "Object

reference not set to an instance of an object". After that, resharper
highlights as an error every class that it not in my solution (including all
of the System.* namespace).
>

The only way to get rid of this is to close Visual Studio, clear out the

resharper caches directory and then restart visual Studio.


0
Comment actions Permalink

It seems to be the same as bug #3333 having just submitted it via the auto-thingy.

It may be because I have set resharper to use the C:\Program Files\JetBrains\Resharper\Caches directory as its cache directory for more than one solution.

Adrian

0
Comment actions Permalink

Your diagnostics is precise. ReSharper sometimes crashes in that case in
build 88. In build 89 the bug should be fixed, but, actually, setting the
caches of several solutions into one directory is not intended behaviour (in
fact, it makes caches useless). We consider changing the UI used to set the
caches directory.
--
Andrey Simanovsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



"Adrian Banks" <no_mail@jetbrains.com> wrote in message
news:11726635.1087839971220.JavaMail.itn@is.intellij.net...

It seems to be the same as bug #3333 having just submitted it via the

auto-thingy.
>

It may be because I have set resharper to use the C:\Program

Files\JetBrains\Resharper\Caches directory as its cache directory for more
than one solution.
>

Adrian

>


0
Comment actions Permalink

It would be nice if Resharper used the Documents and Settings folder for the caches. The reason I changed it initially is because I didn't want my source directories polluted with the resharper caches.

Adrian

0
Comment actions Permalink

Keeping caches in Documents and Settings has some disadvantages. Caches are
per-solution so if you'll open a solution and then after some time you'll
delete this solution from the disk, caches won't be deleted. Default cache
location is within solution directory and it will be deleted together with
the solution.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Adrian Banks" <no_mail@jetbrains.com> wrote in message
news:9956015.1087856453009.JavaMail.itn@is.intellij.net...

It would be nice if Resharper used the Documents and Settings folder for

the caches. The reason I changed it initially is because I didn't want my
source directories polluted with the resharper caches.
>

Adrian



0
Comment actions Permalink

I would also like that feature, ie, using Documents and Settings or another
user selected "Root" folder for the caches, instead of putting it inside the
project's folder


Cheers,
Paulo

"Adrian Banks" <no_mail@jetbrains.com> wrote in message
news:9956015.1087856453009.JavaMail.itn@is.intellij.net...

It would be nice if Resharper used the Documents and Settings folder for

the caches. The reason I changed it initially is because I didn't want my
source directories polluted with the resharper caches.
>

Adrian



0
Comment actions Permalink

That's a good point. However, if the path in the resharper options could be altered (possibly with a checkbox to say "use this location for all solutions") so that all the caches are stored somewhere globally, then this would be better. The poroblem I have is that resharper insists on putting the caches in the source directory and I then have to tell my source control to ignore this directory.

If you could make it so that the caches were made in a directory uniquely named for the solution, then all of the caches could be put in the same place without this error happenning.

Adrian

0
Comment actions Permalink

ditto

/jhd

"Joao Paulo Carreiro" <anonymous@anonymous.com> wrote in message
news:cb8q0k$96d$1@is.intellij.net...

I would also like that feature, ie, using Documents and Settings or

another

user selected "Root" folder for the caches, instead of putting it inside

the

project's folder

>
>

Cheers,
Paulo

>

"Adrian Banks" <no_mail@jetbrains.com> wrote in message
news:9956015.1087856453009.JavaMail.itn@is.intellij.net...

It would be nice if Resharper used the Documents and Settings folder for

the caches. The reason I changed it initially is because I didn't want my
source directories polluted with the resharper caches.
>

Adrian

>
>


0

Please sign in to leave a comment.