I create a custom master page project named "SPCustomMasterpage",and add a new "Model" named "SPloginModel", and I have reference to this link:
http://geekswithblogs.net/mbridge/archive/2010/10/03/sharepoint-2010-hosting--deploying-a-custom-master-page-in.aspx
and now the code about: Element.xml:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module Name="LoginModule" Url="_layouts"> /*the path is right?*/
<File Path="LoginModule\Sample.master" Url="Sample.master" Type="GhostableInLibrary" IgnoreIfAlreadyExists="FALSE"/> /*the path is right?*/
</Module>
</Elements>
I don't know the path is right?