locked
setup solution c# VS 2008 network drive RRS feed

  • General discussion

  •    
    in  setup solution c# made from visual studio 2008

    i had added a installer class which invokes a windows form
    and which checks for the following network drive
    "\\myserver\myfolder"
    myserver is a computer which has myfolder shared.

    when i check the folder exists or not
    using the code

    if(!Directory.Exists("\\\\myserver\\myfolder"))
    {

    messagebox.show("directory doesnot exists");
    }

    now when i run the setup
    it is showing the message directory doesnot exists

    that means network shared folder "myfolder" doesnot exists?
    actually it exists and is accessible;

    when i used windows application solution instead of
    setup solution
    and same code with same condition
    it perfectly works

    but it is not working in setup solution.
    can anybody help me?

    Titoo 11:11 chittur.

    Friday, November 23, 2012 9:44 AM

All replies