How can I set the shadow copy path used by the (NUnit) test runner?

Hi all,

I like using the R# test runner, but recently I've moved to a laptop and have to encrypt folders which could contain confidenial material, including build outputs.  The test runner seems to create a new, randomly-named 8.3 filename in %TEMP% for each build/run.  I don't quite dare encrypt all of %TEMP%, for fear of screwing up some other processes (e.g., ones which aren't running as me).  Is there some way to pick a specific folder, under which all shadow copies folders should be placed?  This would also help with deleting old shadow copies, since I could find them without having to look through all the folders under %TEMP%.

(Hmm ... come to that, how about an option to automatically delete shadow copy folders older than X days, or something?)

I'm currently on R# 5.0, BTW.

Thanks for any hints,
Hugh.

1 comment
Avatar
Andrey Serebryansky
Comment actions Permalink

Hello Hugh,

At the moment there's no way to control the location where shadow copies
are created. You're welcome to put a feature request through our issue tracker:
http://youtrack.jetbrains.net/issues/RSRP and we will consider providing
such option in one of the future releases. The 'shadow copying' is a .NET
Framework mechanism (see http://msdn.microsoft.com/en-us/library/ms404279.aspx
for more information) and ReSharper has no control over shadow copy lifetime
management. Thank you!

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

Hi all,

I like using the R# test runner, but recently I've moved to a laptop
and have to encrypt folders which could contain confidenial material,
including build outputs.  The test runner seems to create a new,
randomly-named 8.3 filename in %TEMP% for each build/run.  I don't
quite dare encrypt all of %TEMP%, for fear of screwing up some other
processes (e.g., ones which aren't running as me).  Is there some way
to pick a specific folder, under which all shadow copies folders
should be placed?  This would also help with deleting old shadow
copies, since I could find them without having to look through all the
folders under %TEMP%.

(Hmm ... come to that, how about an option to automatically delete
shadow copy folders older than X days, or something?)

I'm currently on R# 5.0, BTW.

Thanks for any hints,
Hugh.
---
Original message URL:
http://devnet.jetbrains.net/message/5272223#5272223



0

Please sign in to leave a comment.