Renaming class

Hi everyone,

if I rename a classname (i.g. class Validator in file Validator.cs to class
Verfiy and also accept renaming file to Verify.cs) the cache seams to be
invalid and red errors occur.

If I close the file, exclude the file from the projet and afterwards include
the file into the project everythings is OK!

Good luck!
Josef


2 comments
Comment actions Permalink

Hello Josef,

can you repeat this problem? Also, what version of ReSharper you're using?


Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


Hi everyone,

if I rename a classname (i.g. class Validator in file Validator.cs to
class Verfiy and also accept renaming file to Verify.cs) the cache
seams to be invalid and red errors occur.

If I close the file, exclude the file from the projet and afterwards
include the file into the project everythings is OK!

Good luck!
Josef



0
Comment actions Permalink

Im using Version 376 (RC2).
The problem is permanently repeatable!

When renaming a (huge) class with F2 which is used intensively by other
classes (only used must not be inherited) and also accept to rename the
class filename to the new name during this process, the caches get invalid.
To correct the problem I exclude the renamed class file from the project
(solution explorer) and afterwards I immediately include the same fiele ...
and everything now is correct.

Josef


"Dmitry Shaporenkov" <dsha@jetbrains.com> schrieb im Newsbeitrag
news:c8a8945d14518c94e49a3145582@news.intellij.net...

Hello Josef,

>

can you repeat this problem? Also, what version of ReSharper you're using?

>
>

Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>
>
>> Hi everyone,
>>
>> if I rename a classname (i.g. class Validator in file Validator.cs to
>> class Verfiy and also accept renaming file to Verify.cs) the cache
>> seams to be invalid and red errors occur.
>>
>> If I close the file, exclude the file from the projet and afterwards
>> include the file into the project everythings is OK!
>>
>> Good luck!
>> Josef
>



0

Please sign in to leave a comment.