homepage Welcome to WebmasterWorld Guest from 54.145.183.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

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?
mdsww

5+ Year Member



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

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

WebmasterWorld Administrator 10+ Year Member



 
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