title: Deployment of custom content type, forms, cqwp, and xsl
body: <p>Right now I have a visual studio project which contains a custom content type that I made. It also contains all the necessary files for making a sharepoint solution (wsp) file and a script to generate this. </p>
  
  <p>Now, I would like to do 2 things. </p>
  
  <p>First, I'd like to create a custom display form for the content type and include it in my solution so that it is automatically deployed when I deploy my solution. How do I include this in my solution and make my content type use it?</p>
  
  <p>Secondly, you can query this type with the CQWP. I've thought about exporting it, adding more common view fields, and then modifying the XSL that is used to render it. How do I include this into my solution so that it is also deployed. I know i can export the CQWP webpart once it's all setup and include it in my project as a feature. But what abuot the XSL?</p>
  
  <p>Looking forward to see your suggestions, cheers.</p>
  
  <p>Did as described in the first answer. Worked like a charm.</p>