I am currently looking into developing some WebParts for Microsoft Sharepoint 2010. I have set up a Windows 2008 Server virtual machine running Sharepoint 2010, and I have Visual Studio installed on my local machine (Windows 7 32 Bit).
However, it seems that I need to have Microsoft Sharepoint installed locally in order to access the templates in VS. I have found a couple of tutorials online saying you can develop Webparts locally without Sharepoint 2007 installed, but all 2010 tutorials insist on having Sharepoint installed locally.
Do the methods of deploying a sharepoint 2007 web part work under 2010, or alternatively, are there any good tutorials on how to develop a Sharepoint 2010 Web Part without having Sharepoint installed on the development machine?
There is a post here that describes what you are looking to do. As Gavin mentioned below, you need to add the path to the registry.
Since you already have the VM on your local machine, my suggestion is to install a copy of Visual Studio installation there as well. I have the same set-up with an instance of VS local for web development and one on my VM for SP development.
Related
I have VisualStudio 2015 on my computer and i would like to connect it in SharePoint Server which is put on another computer (Using VM)
I know that, VS works only with SP in local.
Is it possible?
Thanks :)
One option is to publish the solution locally. For a farm solution, publishing from Visual Studio will produce a .wsp file.
You can then copy that file to the computer with SharePoint installed on it, and use Powershell (running on the remote computer) to deploy it in to SharePoint via the add-spsolution and install-spsolution cmdlets.
For more detailed information and instructions, you can refer to Microsoft's documentation here: Install and manage solutions for SharePoint 2013.
Instlling a trial VS2010 on my workstation hoping to develop some simple custom web parts for our SharePoint 2010 webs. As soon as I try to create an appropriate projectd (Empty SharePoint project) I'm warned that VS2010 must be installed on the same server as SharePoint.
I can do this, but on which server... there are 5 of them on our farm. APP01, APP02, WFE01 (web front end), WFE02, and SQL.
Many thanks!
Don't install Visual Studio on any of those servers. Install SharePoint on your development computer, then once you develop your solutions deploy them to your test and finally production SharePoint servers as wsp files.
I have a centralized Microsoft Sharepoint Server and SQL Server on Windows Server 2008 intalled. I am new to sharepoint. In my local machine i have installed Visual Studio 2010 Ultimate Trial version. When i goto create new share point project in the visual studio, I am getting an error message saying,
"A sharepoint server is not installed on this computer. A sharepoint server must be installed to work with sharepoint projects"
Is it possible to develop the sharepoint application like this? if yes. can you please let me know what i can do?
--
Regards
You should install SharePoint 2010 on that machine. Either install it on Windows 7-8 or Windows Server 2008-R2
http://msdn.microsoft.com/en-us/library/ee554869.aspx
Check this Installing Microsoft SharePoint Server 2010 on Windows 7 x64 along this follow msdn.
you should have 64-bit version of Windows 7. then follow the step
mentioned in the above link. Install the additional prerequisites carefully else the installation will cause some error.
I am trying to create a webproject which can be deployed on azure. I have VS 2010 trial version (pro) installed on windows 7. When i click cloud (under VC#) i am prompted to install Windows azure tools. I do this. I get the tools installed message. I restart VS 2010. But i fail to find windows azure web project template, which should have been installed. It just shows me the same sequence of screens (install tools etc). I am executing VS 2010 under administrator role.
Steps described # http://msdn.microsoft.com/en-us/library/windowsazure/ff687127.aspx
Questions
Is Windows azure template projects not allowed in Trial edition of VS 2010 pro?
Can such a project be made using VS 2010 express?
Thank you
Sameer
I'm not sure about trial versions, as I've never tried installing with a trial edition. However: I've run other software packages with trial versions of Visual Studio, without issue.
The SDK will work with Visual Studio 2010 Pro and above, as well as Visual Web Developer 2010 Express (downloadable here).
For installing the tools properly, I'd suggest going here and installing via Web Platform Installer. It will make sure you have all needed dependencies.
I am going to be learning how to do SharePoint 2010 development and as such I am setting up my environment? I have a couple of questions about that.
First, I am following a couple of helpful articles on how to do it as follows...
http://geekswithblogs.net/manesh/archive/2010/05/28/building-the-ultimate-sharepoint-2010-development-environment.aspx
and
http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx
Both of these article recommend setting up Sharepoint on a server environment or VM and THEN setup Visual Studio on that same environment.
I was wondering if it will work to setup Sharepoint on a VM Guest and use my existing installation of Visual Studio (my VM host) to do the work. To do Sharepoint development do you HAVE to install Visual Studio on the VM Guest with Sharepoint? What do I lose if I just use my production install of Visual Studio (or will it just plain not work?).
It just seems counter-productive to have two development environments (and I refuse to install Sharepoint on my production machine...at least right now.)
Also, will SharePoint Foundation edition (rather than full server version) function just fine for learning and development or will I find that I am eventually going to hit barriers and limitations with it.
Thanks in advance for your help.
Seth
In order for many of the SharePoint features Visual Studio 2010 to work, both must be installed on the same machine (or VM). Visual Studio can't deploy to another machine, and the debugger (F5 Debugging) won't work remotely. If you choose to not install VS on the VM, then you will have to package and deploy the solutions yourself, as well as debug them yourself, either through the remote debugger, or trace logs on the machine. Its worth installing VS on your VM.
The SharePoint Foundation will work fine for learning, unless you are trying to learn about some of the features specific to SharePoint Server. Here is a good chart showing the differences.
You need to have SharePoint installed on your development machine so that you can write code utilizing the SharePoint assemblies.
As for just using SharePoint Foundation, I would recommend that you identify what sort of functionality you want to work with and let that determine if you can get away with just using SharePoint Foundation or not. Personally, I would use the full version so that you can learn about the the functionality it offers as well. Otherwise, you won't really be learning everything that SharePoint can provide for you.