Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have added a new page to my project and now I need to deploy it.

When I deploy with visual studio it places the page in: \14\TEMPLATE\LAYOUTS\AutomatisationDesActesRemises

  • The page is inside a Layout folder that I created from the visual studio SharePoint mapped folder.

Question:

When crating a WSP file, the best way is ...

It is imperative to create a Module to deploy that page? Or it will be placed in the correct folder because it is inside a Mapped Layout Folder ?

Thank you for your answers ....

Juliano

share|improve this question

2 Answers 2

up vote 5 down vote accepted

There is no needs to add a module if you place it inside a Mapped Layout Folder.

share|improve this answer

Strictly speaking, modules deploy files to the content database. Files deployed to the LAYOUTS virtual directory do not exist in the content database at all.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.