Sharepoint Development without Windows Server - visual-studio

Short question: Can I develop for Microsoft Sharepoint, using Visual Studio, without using a Windows server machine?
I'm trying to do work for a Sharepoint site that requires me making custom web parts but from what I've read, I won't be able to develop in visual studio without having Sharepoint installed. As well, I can't install Sharepoint without running a Microsoft Server OS.
Here is a link to a similar question asked from a couple years ago. I would love to know if there have been any fixes since then.
I am running Windows 7, and Visual Studio 2013. I don't think that the version of VS really matters, since the equivalent Sharepoint version is available for free.

If you are developing for SharePoint 2010, then you can install it on Windows 7 or 8 but with a modification http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx, For SharePoint 2013 you need to have Windows server
To setup SharePoint 2010 on Windows 7 or 8 machine:
Copy the SharePointFoundation.exe (or setup.exe) installation file to a folder on the computer where you are installing SharePoint and doing your development, such as in the following path:
c:\SharePointFiles
Extract the installation files by opening a Command Prompt window, and then typing the following command at the directory location of the folder where you copied the installation files in the previous step.
For SharePoint Foundation 2010:
c:\SharePointFiles\SharePoint /extract:c:\SharePointFiles
For SharePoint Server 2010:
c:\SharePointFiles\OfficeServer /extract:c:\SharePointFiles
Using a text editor such as Notepad, open the installation configuration file, config.xml, located in the following path:
c:\SharePointFiles\files\Setup\config.xml
Add this line inside the tag:
<Setting Id="AllowWindowsClientInstall" Value="True"/>

Yes, you can use Sharepoint Foundation or install sharepoint server. But, if you wanna do this you have to remove the sharepoint check SO check on the setup.
Install sharepoint in windows 7

Related

VSTO can not installed with Visual Studio 2022 Installer

I rent absolutely free
Edition Windows 10 Pro
Version 20H2
Installed on ‎2/‎7/‎2023
OS build 19042.1706
Experience Windows Feature Experience Pack 120.2212.4170.0
With Excel installed and Activated by hosting provider
Microsoft Office LTSC Professional Plus 2021
Version 2108 (build 14332.20447 Click-to-Run)
Than I try to install to this new machine VS 2022 community from official site
Unfortunately VSTO tools is impossible to install, I see a lot of times the same error
VSTO installation Error
What I need to do? I need VSTO.
I receive advice to download firstly and install after full download. In this case I have this error.
Something going wrong
What going wrong I don't understand. This VM placed to datacenter in Germany with good connection and preinstalled and activated legal copy Windows 10 and Excel.
Most probably you are dealing with a connection problem. You may try to repair your VS installation at a later point of time.
You may consider downloading a local installation package, select the Download all, then install option in the dropdown at the bottom of the Workloads tab of the Visual Studio Installer. The purpose of this feature is to frontload the downloading of the Visual Studio packages onto the same computer that you plan on eventually installing Visual Studio on. By downloading the packages locally first, you can then safely disconnect from the internet before you install Visual Studio.
Also you can download the installer locally by using a command line. And only then you can launch the installer for the Visual Studio, so you will not face with such problems. Read more about that in the Create an offline installation package of Visual Studio for local installation article.

No template for Windows Phone 8.1 in Visual Studio Express 2013 with Update 2 RC

I have been developing WP (Windows Phone) 8.0 apps using Visual Studio Express for Windows Phone. To start developing for WP 8.1, I downloaded VS 2013 including update 2 RC from Windows Phone Developer site which is supposed to use to develop WP 8.1 apps.
I've tried twice, but there is no option to create WP 8.1 app even after a successful installation. What I get is only this:
i.e. no option to create Windows Phone 8.1 apps. If it matters, I'm interested in WP 8.1 Visual C# template specifically.
As I've mentioned, since I develop Windows Phone 8.0 apps, therefore Visual Studio Express (2012) for Windows Phone is already installed.
I've already gone through:
WP8 Development on Visual Studio Express 2013
Why is there no Windows Phone version of Visual Studio Express 2013?
Visual Studio 2013 and Windows Phone
How to get started with windows phone SDK 8.1?
WP8 Development on Visual Studio Express 2013
but none address the solution.
Being a windows app developer even I was baffled with the shift in Windows Phone location. You can find it in
Visual C# --> Store Apps --> Windows Phone apps.
Do sign in, in Visual Studio through Microsoft Account then go to ur notification and update ur VS and you will get this screen. Its usually caused due to some updates working only when VS can access developer's account and also I am using VS 2013 pro.
Have you installed Windows phone emulator SDK with the updated emulators?
I finally got the solution.
I downloaded both Visual Studio 2013, and update 2 RC using the /layout switch at command prompt. From MSDN:
After you download the update executable from the MSDN website to a
location on your file system, run the following command at a command
prompt: /layout.
This command downloads all the
packages for the installation. By using the /layout switch, you can
download all the installation packages, not just the ones that apply
to the download machine. This approach gives you all the files that
you need to run this update anywhere and may be useful if you want to
install components that weren't installed originally.
To do this, download the Visual Studio 2013, and Visual Studio 2013 Update 2 RC files (about 2-3 MBs each). Then, create a shortcut of these files on desktop, and then open properties of shortcut. In target field after ", add a space followed with /layout as shown below:
This will download all installation files to your disk and when you install the VS (the exe at specified download folder), it won't ask it to fetch from internet, rather will do it from offline files and phone SDK 8.1 will be installed too.
Please be warned that, this will take a lot of time. To save time, I suggest following what is in Update section.
Update
While searching on internet, I found these two links on Microsoft website:
Microsoft Visual Studio Express 2013 for Windows
Desktop
Microsoft Visual Studio Express 2013 for Windows with Update
2
In download section, these two sites show that, the offline download option is now available (as evident from the ISOs shown). Though, I don't know if that would help as I haven't tested this option. Just that this option will be much more quicker than using /layout switch.

How to develop sharepoint application on a client machine

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.

Developing for sharepoint 2010 without it installed locally

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.

Visual Studio SP1 error: silverlight_sdk.msi is unavailable

I'm trying to install the SP1 for Visual Studio 2010. I first installed the beta and it worked fine. Then I used the web platform installer to install the SQL CE Compact 4, which I assume installed the full SP1 after (this installation took over 12 hours, so I canceled it). The web platform installer told me that SP1 and Silverlight 4 was installed.
Visual Studio tells me SP1 was partially installed. So I downloaded the installer from the site and now it gives me this error:
Microsoft Silverlight 4 SDK - The feature you are trying to use is on a network resorce that is unavailable. Seeking application package 'silverlight_sdk.msi'.
How can I fix this error?
It's because Silverlight 4 isn't bundled with SP1 (apparently). Download Silverlight 4 tools, extract and point the SP1 error dialog to silverlight_sdk.msi. Should resolve it.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b3deb194-ca86-4fb6-a716-b67c2604a139&displaylang=en
To solve this problem you have to follow these steps:
Download "Microsoft Silverlight 4 Tools for Visual Studio 2010", but do not install.
Rename the downloaded installer file "Silverlight4_Tools.exe" to "Silverlight4_Tools.rar".
Extract the .rar file using tools like 7-Zip.
You can find the file silvelright_sdk.msi in the extracted files.
Go back to your Visual Studio 2010 SP1 installer. If you are still on the error window, click the browse button to browse and choose the silvelright_sdk.msi from the folder where you extracted the files.
I downloaded the offline installer and it worked fine.
I used the following link and it worked...
http://www.microsoft.com/en-us/download/confirmation.aspx?id=7335
After the execution of the web installer you will notice that a new directory has been created on the root of your C drive.
It would be a directory named like C:\961adfde6904297e47d06caaccf530. If you have many of those "strange named" directories you have to check the date modified and select the most recent. Inside that directory you will find the silverlight_sdk.msi file.
This is the file that is needed to be pointed by the "Use source" field of the "Microsoft Silver Light 4 SDK" installation error message.
Going on the installation, you may need the MSI file of the "WCF RIA Services v1.0 SP1". You can download it from WCF RIA Services V1.0 SP1 for Silverlight 4.
And then you can again point it to your error message.

Resources