How can we help you today? How can we help you today?

can't find the path Reflexil.window\index.dat

I use the newest beta reflector pro,
and i download the plugin reflexil 1.0 version.
where i try to use replace all with code
reflector pop up a messagebox,said.

can't find the path c:\users\xx\appdata\local\temp\reflexil.window\index.dat
then crashed. i have tryed the stable version, and change the reflexil version to 0.9,the same question.

i run on windows7, so i changes to windows xp too. the same problem appeared.
wear?
thank you for any help.
flourishing
0

Comments

4 comments

  • Clive Tong
    I managed to reproduce the problem here, but it doesn't appear to be connected with any Reflector code.

    The error when I run as administrator is

    System.IO.DirectoryNotFoundException
    Could not find a part of the path 'C:\Users\Administrator\AppData\Local\Temp\Reflexil.Window\index.dat'.

    The stacktrace for the error is
    System.IO.__Error
    WinIOError(Int32 errorCode, String maybeFullPath)
    System.IO.FileStream
    Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
    System.IO.FileStream.
    ctor(String path, FileMode mode, FileAccess access)
    ICSharpCode.SharpDevelop.Dom.DomPersistence
    SaveCacheIndex(Dictionary`2 cacheIndex)
    ICSharpCode.SharpDevelop.Dom.DomPersistence
    AddFileNameToCacheIndex(String cacheFile, ReflectionProjectContent pc)
    ICSharpCode.SharpDevelop.Dom.DomPersistence
    SaveProjectContent(ReflectionProjectContent pc)
    ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry
    get_Mscorlib()
    Reflexil.Forms.IntellisenseForm
    ParserThread()
    System.Threading.ThreadHelper
    ThreadStart_Context(Object state)

    so it looks like the problem is just that the code in the assembly ICSharpCode.SharpDevelop.Dom.dll expects the directory to exist. Hence the workaround is probably to create the directory, though the longer term solution is probably to get the add-in author to use an API to create the necessary directory.
    Clive Tong
    0
  • reflexil
    This is fixed with Reflexil 1.2 (coming in January 2011)

    Regards
    reflexil
    0
  • Neil
    if your Windows language is not english, when you use reflexil to replace the method code, an exception will thrown, and the reflector will crash.
    the exception message may be like:
    Could not find a part of the path 'C:\Users\xxxxxx\AppData\Local\Temp\Reflexil.Window\index.dat'.

    i think this is a bug of reflexil. the solution is: you can create a folder of 'Reflexil.Window' in '...AppData\Local\Temp\'

    then restart reflector, reflexil works now.
    Neil
    0
  • reflexil
    Was related to the cache system used by the completion engine. It's fixed in the SVN (and will be available in v1.2)
    reflexil
    0

Add comment

Please sign in to leave a comment.