I need to create custom content type derived from TASK content type in SharePoint 2010. The main point here is that I want my custom aspx edit and view forms with code behind to be opened when user opens task of my custom content type. And default forms should be opened for tasks of other types.
How can I do this through Visual Studio 2010 solution?