Add folder to a published project

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • acb

    Add folder to a published project

    Hi,

    I have a VS 2005 C# project to which I have added a folder. Into this
    folder are various resources that are used within the program.

    I have the line ItemsPath = Application.Sta rtupPath + "\\Resources\\" ;
    in my code and whilst in the IDE everything works fine. When I come to
    install the published version of the program, an exception is raised
    that indicates that the file within the folder could not be found.

    Can someone please tell me what am I doing wrong?

    Thank You,
    Al

  • acb

    #2
    Re: Add folder to a published project

    Update: I figured it out. The folders were part of the project; I had
    dragged the files via Explorer and these were therefore unknown to the
    IDE.

    Thanks

    Comment

    Working...