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'm trying to install a development environment for Sharepoint (update: 2010) in a Windows 8 box without installing Sharepoint localy.

I managed to have VS (2012 by the way) creating SP projects - I followed these links 1 2

But now I have another problem I cant seem to fix. I can build an existing project with VisualWebParts, but if I try to create a new one I get this error : Cannot find custom tool 'SharePointWebPartCodeGenerator' on this system

Does anybody know how to solve this?

Thanks

share|improve this question
    
which sharepoint is it –  Muhammad Raja Dec 26 '12 at 14:52
    
sp2010, updated post –  Ricardo Gomes Dec 26 '12 at 15:07

3 Answers 3

Presuming you are trying to develop for SharePoint 2013 as remote development isn't supported by earlier version of SharePoint as said in this MSDN documentation, If you follow this guide it says you need to install sharepoint development tools on your machine, I wonder if you installed them yet.

This article on MSDN goes through remote development in SharePoint 2013. For earlier version I tried Visual Studio remote debugger which works well as well and more information about it can be found by following this Link (How to setup remote debugging.)

Hope it helps

share|improve this answer
    
Thanks foy your reply, but I'm still using SP2010. –  Ricardo Gomes Dec 26 '12 at 15:06

You need to have SharePoint 2010 installed on the machine you wish to do development on. However, installing SharePoint 2010 on Windows 8 is unsupported (and may or may not be supported when SharePoint 2010 SP2 is released).

SharePoint 2013 remote development is only good for developing "Apps", traditional solutions still must be developed locally.

I'd suggest using a virtual machine (Hyper-V or VMware Workstation/Player) with Server 2008 R2, SharePoint 2010, and Visual Studio installed in it.

share|improve this answer
    
Yes I understant that this is the only "supported" way, but still I'm stuborn. I've manage to build a SP project in this config, the only thing I cant do is create new visual web parts –  Ricardo Gomes Dec 26 '12 at 17:35
    
I'm not sure why you'd want to take an unsupported approach to development. –  Trevor Seward Dec 26 '12 at 18:48
    
@RicardoGomes developing something isn't a problem or big deal, problem is when you will test it and debug it, you can have needed dlls and you can build a project but how you gonna debug it ? –  Muhammad Raja Dec 26 '12 at 19:02
    
@TimeToShine thank you for your reply, and indeed that is a problem, but I have a Testing Server in which to deploy and debug, and also a Build Definition (using TFS Build Server) that does the deployment, so all I need is to actually code and build in Windows 8. I actually "solved" part of the problem, I can build in windows 8 using VS2010, but not in VS2012. –  Ricardo Gomes Dec 27 '12 at 14:33
up vote 0 down vote accepted

It seems that using Visual Studio 2010 it works.

After the steps defined in the two links I gave in the question, just instaling VS 2010 worked.

Hope this helps some one else. And if somebody finds a way to do this using VS2012 I'll change the accepted answer.

share|improve this answer

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.