Challenging ClickOnce problem... writing to the data store RRS feed

  • Question

  • Ok, I have a program whose solution is composed of (3) projects. I am using ClickOnce as my deployment method and have set the Security Zone to Full Trust.

    My configuration.dll, which is one of the (3) projects compiled in my solution, tries to write a config.xml file to the ClickOnce data folder.
    FYI: The file does not already exist, so it must create it on the fly.

    The problem: It doesn't create it on the fly. It tries to write the file to the correct location but a check of that location reveals that the file is never created and thus cannot be written to.

    Does this mean that I need to create a blank config.xml file and include it with the project at compile time? Can files not be created in the 'data directory' of ClickOnce applications?

    How can I tell if this is a security zone problem, which I assume it is?

    I have been wrestling with this problem for the last hour so any help, suggestions, and/or advice would be really welcome at this point. ;)

    (If you need/want more info just ask, I am monitoring this post)
    Wednesday, August 3, 2005 8:05 PM