Hi,
In SharePoint 2013 I created and configured basic search webpart. I exported it and now I have a dwp file on my local computer.
I also have a Visual Studio project which now includes a branding solution. The branding solution includes a site definition, master-pages, page layouts, images and css files.
Now I would like to create a separate solution in the project named "web-parts". In this project I would like to import the exported dwp. While creating a new site, I want to add the web-part to a web-part zone in the page layout.
How can I import the dwp and how can I add the web-part to the web-part zone while creating a site?