Develop Visual Web Part Without Installing Sharepoint - sharepoint

I want to know if it is possible to develop web parts without installing sharepoint?
I choose Visual Web Part then I get sharepoint not installed error.

You can't develop it without SharePoint on same machine.

The answer is "Yes", you can. But if you do that then you loose all features of Visual Studio for development for SharePoint. You will need to create proper visual web part project artifact structure manually which could be tricky. Also you will have to create wsp package manually or using tools like wsp builder. Then you can copy this wsp package to sharepoint server and deploy it.

Related

Using Visual Studio 2015 for existing node-js client-side web projects

I have a team working on a client-side node.js application. The sources are stored in a source control. I'd like to modify and debug this application in Visual Studio 2015. They use other IDEs, and I would not like to add additional VS-specific files such as .sln to source control.
I'm able to clone the repository, create a separate empty solution and add the repository as an "Existing Web Site". However, Visual Studio do not recognize package.json, and do not install dependencies as it would for MVC6 projects. Consequently gruntfile.js would not work either.
Is there any way to make Visual Studio see and process package.json, or I'm on a wrong track here?
Instead of using the "Existing Web Site" option, create a new solution and add items to it. Web Site Projects types are a different, legacy project type.

How to create SharePoint web part from Class Library project?

I got a SharePoint web part proejct wth the output type set to Class Library to deploy on SharePoint farm. It all bulds great no errors.
However, The project doesn't package as DWP because of the output type - In the Build menu VS2010 doesn't show Package item.
What is the way to create DWP package from this type of a project in Visual Studio 2010?
Should I create a new web part project from an empty SharePoint web part project and add the the cs files to complile and new project? or there are some good ways?
Thanks,
Val
Yes, you can create a SharePoint Web Part project in Visual Studio and then add your class library project to it. There will be an option to package your web part project into a wsp file and deploy it. Make sure you add your class library to the GAC though in the web part project.

Sharepoint 2010 development - internet sites or team sites?

I am completely new to SharePoint 2010 and have managed to install SP2010 on windows 7 as a development machine.
I am trying to develop a site from scratch on the SharePoint platform but don't understand how to get my hand the code behind the pages. I understand they are generated dynamically using the database interaction however I want to create a multistage much like WordPress version but using SharePoint. Can anyone point me in the right direction on how to develop a multistage using SharePoint 2010?
You can edit master pages with tools like visual studio but your shouldn't. Download and install SharePoint Designer, it is a free development environment from Microsoft that is specially built to edit the context items of SharePoint.
http://sharepoint.microsoft.com/en-us/product/related-technologies/pages/sharepoint-designer.aspx
If you want to build web parts and so on have a loop at the SharePoint developer tools for visual studio, but to handle this you will need to buy a book about the subject. SharePoint development becomes pretty advanced as soon as you leave the web-gui.

WSPBuilder in Visual Studio 2010 for solution in Sharepoint 2007

I've installed the WSPBuilder extension for Visual Studio 2010 and I'm looking for a walkthrough of how to create a deployment package for my web-part. Can anyone point me to a good resource? Everything I find seems to be directed towards VS 2008 and it creates the folder structure differently.
Thanks!
The documentation you have found already should be close enough - the hive folder is named "SharePointRoot" instead of "12", but aside from that it's all the same for basic usage.
Developing for SharePoint without having SharePoint on the dev box is going to be fairly painful whatever method you use though. I have a PowerShell script that deploys a WSP on another server so I can use the same development environment for 2007 and 2010 - it works but is a lot slower than the local copy to GAC or hive when making small changes. The error you are getting with VS2008 can probably be fixed by running visual studio as administrator.

custom sharepoint workflow development using visual studio 2008

I have a requirement which requires custom workflow development. But as I have never created any workflow programatically before, I dont know how to start with. I have a WSPBuilder installed in visual studio 2008, Can anyone please let me know the steps to develop using wsp builder. I have googled for this but unfortunately i did not find anything regarding this. Also, Please suggest me if using WSP builder is the easiest way of developing workflows or is there any other way of implementing it.
Any suggestion would be appreciated.
Thanks a lot.
WSPBuilder will not help you develop workflow at all. WSPBuilder assists you in building a WSP out of solution files of SharePoint.
To develop workflows, you need to be first aware with Windows workflow Foundation. Start with an example here:
http://msdn.microsoft.com/en-us/library/cc627284(v=office.12).aspx
Once you have learnt the basics, and you can build the workflow manually, then you can use WSPBuilder to build the WSP.
In short, WSPBuilder will help you build WSP which is nothing but deployment package such as rpm, deb in linux environment.

Resources