However Visual Studio 2012 does not include the SharePoint 2013 Developer Tools Preview with it.
So, to install the preview tools, you need to grab the Microsoft Web Platform Installer
Download the web platform installer, search for SharePoint and you have it there:
Not enabled Share point solutions for SP 2013
you have to install properly on the office developer tools
Microsoft Office Developer Tools for Visual Studio 2012 - preview
Microsoft Office Developer Tools for Visual Studio 2012
otherwise you will get in the below error
Then you have to unistall and install again
Now you can create Visual webpart and deploy into SharePoint 2013
So, to install the preview tools, you need to grab the Microsoft Web Platform Installer
Download the web platform installer, search for SharePoint and you have it there:
Not enabled Share point solutions for SP 2013
Need to download and install in the following software’s until 9th
point and for 10th point need to install via Microsoft Web Platform Installer
you have to install properly on the office developer tools
Microsoft Office Developer Tools for Visual Studio 2012 - preview
Microsoft Office Developer Tools for Visual Studio 2012
otherwise you will get in the below error
Then you have to unistall and install again
Now you can create Visual webpart and deploy into SharePoint 2013