2 comments
Comment actions Permalink

Hello Lothan,

please note that unless the generated file containing properties is opened
in editor, ReSharper treats modification of that file is an external change
and thus needs switching focus to another application and back to VS in order
to process it (the underlying assumption is that the user switches
to another application, modifies the file there and then switches back to
VS). Are you sure that even doing the abovementioned actions doesn't
help ReSharper to be in sync with changes to the generated file? Thanks.


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

ReSharper build 256 seems to have difficulty recognizing the last
entry string added to resources, but the behavior is a bit odd
sometimes. If I add a new string to the resources, ReSharper won't
recognize it as a valid property. Sometimes I can edit something in
the string resources to force ReSharper to recognize the new entry. In
most cases, however, the solution is to add a dummy entry at the end
of the resources collection that can be safely removed after ReSharper
recognizes the desired entry.



0
Comment actions Permalink

Yes, switching applications after adding resources works. I also notice it
works if I keep Resources.Designer.cs open.

Thanks for the help.


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91b67a38c882ce78469f90@news.intellij.net...

Hello Lothan,

>

please note that unless the generated file containing properties is opened
in editor, ReSharper treats modification of that file is an external
change
and thus needs switching focus to another application and back to VS in
order to process it (the underlying assumption is that the user switches
to another application, modifies the file there and then switches back to
VS). Are you sure that even doing the abovementioned actions doesn't
help ReSharper to be in sync with changes to the generated file? Thanks.

>
>

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

>
>> ReSharper build 256 seems to have difficulty recognizing the last
>> entry string added to resources, but the behavior is a bit odd
>> sometimes. If I add a new string to the resources, ReSharper won't
>> recognize it as a valid property. Sometimes I can edit something in
>> the string resources to force ReSharper to recognize the new entry. In
>> most cases, however, the solution is to add a dummy entry at the end
>> of the resources collection that can be safely removed after ReSharper
>> recognizes the desired entry.
>>
>



0

Please sign in to leave a comment.