Refactor Move screws up images

Hi

I was consolidating two assemblies, and moved a folder full of images from one assembly to another. I used Refactor|Move rather than a simple copy/paste, because I wanted Resharper to update all the references to the images.

Aaggh - every single one of the images was corrputed!

During the process, Resharper was opening each image in VS. The text screen that was opened was just garbage. I didn't save the opened files.

Anyway - its not really the end of the world. The Move updated the references correctly, and I just ended up recovering the original image files from source control and copy/pasted them into the new assembly.

I also noted that Resharper sometimes gets confused with renaming pack:application,,, addresses - it changes

pack://application:,,,MyOldAssembly;component/Resources/image.png to something like
\MyNewAssembly\Resources\image.png

Regards
Jeremy

1 comment

Hello Jeremy,

Thank you for reporting this problem! I was able to reproduce this behavior
and I've logged a bug-report: http://youtrack.jetbrains.net/issue/RSRP-225552.


Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi

I was consolidating two assemblies, and moved a folder full of images
from one assembly to another. I used Refactor|Move rather than a
simple copy/paste, because I wanted Resharper to update all the
references to the images.

Aaggh - every single one of the images was corrputed!

During the process, Resharper was opening each image in VS. The text
screen that was opened was just garbage. I didn't save the opened
files.

Anyway - its not really the end of the world. The Move updated the
references correctly, and I just ended up recovering the original
image files from source control and copy/pasted them into the new
assembly.

I also noted that Resharper sometimes gets confused with renaming
pack:application,,, addresses - it changes

pack://application:,,,MyOldAssembly;component/Resources/image.png to
something like \MyNewAssembly\Resources\image.png

Regards
Jeremy
---
Original message URL:
http://devnet.jetbrains.net/message/5291982#5291982



0

Please sign in to leave a comment.