homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

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

5+ Year Member

Msg#: 4374330 posted 7:24 am on Oct 14, 2011 (gmt 0)


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.



WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month

Msg#: 4374330 posted 2:52 am on Oct 30, 2011 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved