A feature with ID has already been installed in this farm

SharePoint 2013: A feature with ID has already been installed in this farm

When you try to deploy a Visual Web Part you may get the following error.
“Error occurred in deployment step ‘Add Solution’: A feature with ID 15/3e472a61-bbc9-4242-87c7-a07e8e3fab99 has already been installed in this farm. Use the force attribute to explicitly re-install the feature.”
See a sample screenshot of the error
clip_image001

The reason for the error

The Visual Studio deploys your project to the site specified by the Site URL property. Once you deployed a visual web part to a site, later from Visual Studio change the Site URL property to another site, next time when you try to deploy the project, you will see this error.

Resolution

The solution is clearly specified in the error message itself.
“Use the force attribute to explicitly re-install the feature.”
In order to specify the Force attribute, expand the Features node in your project and expand it.
clip_image002
Double click on the feature to open the feature.
clip_image004
Click on the Manifest to modify the XML for the feature file and then click on the Edit options.
clip_image006
You can edit the manifest in the Edit options editor. You can edit the file here, or use the link “Open in XML editor” link to open the link in the XML editor. With XML editor, you will get the intellisense support.
clip_image007
Add the AlwaysForceInstall=”TRUE” attribute to the Feature element. Once you modify the element, the modified element looks as follows.
clip_image009
Once you save the manifest, now try to deploy the project, you will find the project will deploy with out any error.
clip_image010

Connect to host’s wifi adapter from VirtualBox guest

It’s pretty weird,

Configure 1 adapter of the guest OS to use NAT. Then plug in the cable while disable wifi on host machine.

Once the internet works in the guest OS, unplug the cable and connect the host to WIFI network, the guest will then be able to connect to the Internet through host’s wifi.