Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to build wsp file for SharePoint 2013, but it is not installed on my local PC. What should I do to make this thing possible? I guess that I need to tell Visual Studio somehow that SharePoint has been installed. I'm going to copy all required dll from SharePoint to the project. Will it work?

share|improve this question
1  
Why can you not install SharePoint on to a local Dev Machine using Virtualisation technology? –  Simon Doy Feb 7 '13 at 7:07
    
Could you please provide little bit more information about Virtualisation technology? –  Warlock Feb 7 '13 at 7:45
add comment

2 Answers

up vote 1 down vote accepted

Visual Studio checks certain registry keys to make sure Sharepoint is installed. This URL describes where these keys are located: http://sharepointmalaya.blogspot.com/2009/07/how-to-check-if-moss-or-wss-is.html

You can build Sharepoint solutions without having to install Sharepoint, but you cannot debug. Remember to copy all the Sharepoint Binaries from a valid installations Bin folder.

share|improve this answer
    
Thanks, is it possible to debug remote SharePoint web parts using Remote Debug Monitor? –  Warlock Feb 7 '13 at 12:42
    
Never tried it and as far as I remember there were limitations. Try firing up VS Remote debugger and attach to al lthe w3wp.exe processes to see what happens. –  Fox Feb 7 '13 at 16:07
add comment

Sure so you have software such as Microsoft's Hyper V and VMWare's Workstation product which allow you to install and run machines that work as independent machines but they run using the resources of your laptop or desktop.

This is what I use when developing with SharePoint.

There are plenty of blog articles about how to build your environment but here are some links to help you get started:-

Microsoft Windows 8 Hyper V Virtualisation Technology http://technet.microsoft.com/en-us/library/hh857623.aspx

VMWare Workstation Virtualisation Technology https://vmware.com/products/ws/

Virtual Box Virtualisation Technology https://www.virtualbox.org/

Video on how to build SharePoint 2010 Virtual Machine: https://channel9.msdn.com/Shows/SharePointSideshow/Setting-Up-a-SharePoint-Developer-Virtual-Machine

share|improve this answer
    
Thank you! The problem why I can't install SharePoint on my local computer is related to hardware requirements. Unfortunately Virtualisation technology can't solve this problem. Anyway thanks I'm very interested in such technologies. –  Warlock Feb 7 '13 at 18:49
2  
Ah I see, I would try and see what you can do to resolve this. SharePoint Development can get frustrating enough when are able to debug locally, let alone what it would be like debugging remotely ;) –  Simon Doy Feb 8 '13 at 0:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.