SharePoint 2010

Module Project and Feature – is it possible to Deploy Custom Page/Custom Controls to _layouts Folder Using SPFeature?


The answer is NO, First thing, you can not use Mapped folder in Module Project in VS 2010. Secondly SPFeature can not deploy files to _Layouts folder, because of the simple reason that it does not allow you to place files in physical file system.

So What is Solution-

One solution you have is use event handler SPFeatureReceiver to deploy file to Physical Files System like _Layouts (in case you want to copy files when SPFeature is Activated).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s