Exclude files from asp.net 2.0 project

Discussion in 'ASP .Net' started by robert@orisoft.co.uk, Sep 14, 2006.

  1. Guest

    I am struggling with what I thought would be a very basic concept. I
    have a web application which I have migrated to .NET 2.0. Now I
    understand that there is no such thing as excluding files from the
    project, so when you publish the site all files in the website are
    deleted on the destination and copied from source. I am using the
    publishing wizard from studio 2005.

    The problem is I have various log files within the site (not served up)
    that are written to by whatever account the application runs under, I
    dont want the hassle of backing these files up and then restoring them
    each time I publish the site, also permissions are different for these
    files and this is another thing I have to change.

    Can anyone reccomend a solution for me? I have thought about placing
    the log files outside on the virtual directory but I just wanted ALL
    components of the application to be in the same place, this was fine in
    asp.net 1.1!!

    Regards
    , Sep 14, 2006
    #1
    1. Advertising

  2. Hi,

    wrote:
    > I am struggling with what I thought would be a very basic concept. I
    > have a web application which I have migrated to .NET 2.0. Now I
    > understand that there is no such thing as excluding files from the
    > project, so when you publish the site all files in the website are
    > deleted on the destination and copied from source. I am using the
    > publishing wizard from studio 2005.
    >
    > The problem is I have various log files within the site (not served up)
    > that are written to by whatever account the application runs under, I
    > dont want the hassle of backing these files up and then restoring them
    > each time I publish the site, also permissions are different for these
    > files and this is another thing I have to change.
    >
    > Can anyone reccomend a solution for me? I have thought about placing
    > the log files outside on the virtual directory but I just wanted ALL
    > components of the application to be in the same place, this was fine in
    > asp.net 1.1!!
    >
    > Regards


    I think I describe here what you want.
    http://geekswithblogs.net/lbugnion/archive/2006/09/12/91000.aspx

    HTH,
    Laurent
    --
    Laurent Bugnion, GalaSoft
    Software engineering: http://www.galasoft-LB.ch
    Private/Malaysia: http://mypage.bluewin.ch/lbugnion
    Support children in Calcutta: http://www.calcutta-espoir.ch
    Laurent Bugnion, Sep 15, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Amitabh Jha

    How to exclude an ASP.NET project from VSS

    Amitabh Jha, Sep 21, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    677
    Jonathan Allen
    Sep 25, 2004
  2. Chuck Ritzke

    Exclude Files from Copy Project?

    Chuck Ritzke, Apr 22, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    372
    Curt_C [MVP]
    Apr 22, 2004
  3. Brad
    Replies:
    4
    Views:
    2,639
    Brock Allen
    May 6, 2005
  4. Sanjay Pais
    Replies:
    1
    Views:
    2,368
    Sanjay Pais
    Dec 20, 2005
  5. VB Programmer
    Replies:
    0
    Views:
    930
    VB Programmer
    Jan 5, 2006
Loading...

Share This Page