I am trying to create a application page under _Layouts folder (using Visual studio 2010). It works perfect with default MasterpPage. But if I try to update DynamicMasterPageFile property to my custom masterpage, it gives me error.
I have created a Blank Masterpage, but still I am not able to associate the masterpage with my application page ( under _Layouts folder).
Any help would be appreciated.