Q1:
Does
aspnet_compiler.exe
compile into assembly(ies) all files contained inside the website directory, even JPG, DOC, and PDF types?If you add images to the list of files (thus add them to the project file) in your web project, will these images also get compiled by VS into assembly?
Q2:
When aspnet_compiler.exe
compiles application into assembly(ies), it also compiles resources and web references.
- I’m not sure I understand what is meant by “Web references being compiled”. What kind of Web references is the text talking about?
- Text also mentions that Resources too get compiled. Which files are considered a resource? Just non-ASP.Net files, such as JPG, DOC etc?
thanx
EDIT:
However, I must ask, why do you want to have these files embedded in an assembly in the first place? Maybe you're not going in the right direction..
I don't plan to embed files in an assembly, but I wasn't sure whether or not this happens automatically when Asp.Net compiles a WebSite or WebProject
Anyways, thank you both for your help