473,326 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Exclude files from asp.net 2.0 project

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 '06 #1
1 1601
Hi,

ro****@orisoft.co.uk 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/a.../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
Sep 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: VijayKani | last post by:
How to exclude files from a VS.Net project through code when they are built (especially in VB.Net and Asp.Net and C#) -- Thanks
1
by: Chuck Ritzke | last post by:
Is it possible to exclude certain files from the "Copy Project" command, like can be done in FrontPage when publishing a web? How? This would be very convenient. For example, I have settings in...
1
by: Oleg Ogurok | last post by:
Hi all, In my web project, I have directory with testing pages that I use for debugging. I would like to exclude it from the final product. Is there a way to tell VS.NET not to compile class...
4
by: Brad | last post by:
I'm not one to rant or flame....so please excuse me while I do so for this once. I've now spent a bit of time working with VS2005 beta 2 to see how it functions for web development, especially how...
1
by: John Dalberg | last post by:
In VS 2003, I was able to exclude full folders from a project but I can't do the same in VS 2005. I can exclude files but not folders. I prefer to exclude at the folder level because the folder...
7
by: CuriousGeorge | last post by:
I'm using aspnet_compiler to precompile my web app for deployment. Currently it copies all subfolders from the asp.net projects source folder to my destination folder. I have some files I do not...
2
by: Arsen V. | last post by:
Hi, How to exclude the App_Data directory from Visual SourceSafe? It appears that Vs 2005 automatically adds the App_Data directory with the large binary MDF and LOG files to the Visual...
3
by: KJ | last post by:
Hello All, Can someone please explain what these .exclude/.include files are? They only show up in some web site projects, and it seems to be related to deleting. Any ideas?
1
by: AntiChrist | last post by:
In VS 2005 if you exclude files from a project, it actually renames the file to filename.exclude. In previous versions, it just left the file alone but excluded it. If you have a very large...
0
by: =?Utf-8?B?a2V2aW4=?= | last post by:
using VS2005, web application projects, web deployment projects My web installer builds from the output of the web deployment project. I end up with the obj folder in my web site. How do I use...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.