A SharePoint server is not installed on this computer.

After installing Visual Studio 2012, I tried to create a new share point project using Visual Studio 2012.  So was getting the error “A SharePoint server is not installed on this computer. A SharePoint server must be installed to work with SharePoint projects“. Once you execute the following powershell command, it will set the registry values for the “HKLM:\Software\Microsoft\Shared Tools\web server extensions\14.0\”.

Set-ItemProperty -Path "HKLM:\Software\Microsoft\Shared Tools\web server extensions\14.0\" -Name "Location" -Value "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\"
Advertisements
Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: