Welcome to WebmasterWorld Guest from 54.226.25.231

Forum Moderators: ocean10000

Message Too Old, No Replies

Build Project without Docs folder

Is it advisable to build .NET web project and exclude Docs folder?

     

mdsww

7:24 am on Oct 14, 2011 (gmt 0)

5+ Year Member



Hi,

I have a folder called Docs in my ASP.Net 2.0 web project which contains about 30 PDF files, all approximately 5Mb.

All of my HTML is stored in a Database, so my links to these PDFs are not referenced within the project. (As far as I know - how can I tell?)

Considering that every build will compile the entire project:

1) Can I exclude my Docs folder from the build, and then upload that directory manually without any issues?
2) Should I just remove the PDF files and leave the Docs folder?
3) Should I leave it as is?
4) How can I ascertain if these PDF files are referenced?

Also can someone please explain what occurs on the build process in simple terms.

Thank you in advance.

Ocean10000

2:52 am on Oct 30, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Yes, you can exclude the Docs folder and files from the project. You will just have to remember to include them manually, when you upload it to the server to test / production servers.

The Build/compile process looks for files marked to be compiled or to be converted to an embedded resource inside the dll.

PDF's unless you have purposely changed them to be embedded would be considered static content like static html and images. And the Build/compile process ignores them.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month