Visual Studio & SharePoint distant Server - visual-studio

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.

Related

Can Visual Studio Online synchronize with TFS on a given project

We have a project source-controlled by local TFS installation (both are 2013 version).
The scenario that we want to accomplish is:
Developers located in the company use the local TFS as usual.
When they finish they check-in the code to the local TFs and Visual Studio Online.
Developers working from outside the company, get latest from the Visual studio Online.
When they finish, they check-in the changes back to Visual Studio Online.
The target is to have local and online code repositories that can be synchronized either manually or automatically. Is this possible using Visual Studio Online? If not, are there any workaround to achieve this scenario?
You can synchronise the work using the TFS Integration Tools. They are complicated to setup and will be painfull to run. There are commercial options that are ridiculously expensive, like OpsHub, and I would suggest you just pick a server.
Either have your local server with remote users on VPN, or have a VSO server that everyone accesses. I would recommend VSO with local Build servers.
You can check here. How to access VS 2010 TFS over the internet from remote office
It is about vs2010 but i guess the second answer is for you.

Add a project in TFS

I have Visual Studio Ultimate edition and need to add a project in TFS.
I want to make my local desktop as the TFS server.
My desktop specs:
Windows 7
Visual Studio 2010 Utlimate
I have no idea how to go about it and add a new project in TFS. I read a lot of blogs but didn't find any that lists something from scratch.
As in when I try to create a Team project in TFS, i get the server section as empty. How to configure my local desktop to act as a TFS server??
First things first, read this: http://msdn.microsoft.com/en-us/library/dd997788.aspx (Compatibility between Team Foundation clients and Team Foundation Server)
Second, you need to decide which version of TFS you are planning to run. Is your company paying for a version of it or are you planning on using the express edition available (2013)?
If your answer to that is TFS Express 2013, then I suggest you navigate to this link and download the installer. Run it and follow the instructions.
If you are planning a full licensed installation, you should familiarize yourself with the various components that come with it (Report server, Sharepoint, etc).
Here is a link to install and administration: http://www.microsoft.com/en-us/download/details.aspx?id=29035
Follow the following steps:
1.
If you haven't already, connect to your Visual Studio Online account and create your workspace folder.
2.Move the code you want to upload to the workspace folder.
3.Open your solution in Visual Studio.

How to get TFS build on a dedicated server

I have my desktop with VS 2010 professional installed, a virtual machine with TFS 2010 installed and a second virtual machine on which I want the builds to work onto.
Thats what I'm trying to say.
The two virtual machines are on the same domain, the VS 2010 is on a different domain.
Is it just configuring the build agent?
Hope this makes sence.
Thanks
To make your Visual Studio project build on a dedicated server you have to setup a Team Build definition, see this page on the MSDN for more information.

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.

TFS Team Explorer Stand Alone With VS 2008 Installed

Does anyone know how you can install/run the TFS Team Explorer in stand alone mode when Visual Studio 2008 is installed on the same machine?
Additional Information: I should have been a little more clear in my question. I'm trying to access the Work Items.
The TFS Team Explorer will always integrate with a version of Visual Studio (apart from Express) if it is installed and there is no way of running it stand-alone.
If you install the TFS 2008 Power Tools, then you can have it so that you get Windows Explorer integration for TFS which many people enjoy. You might also want to look at Team System Web Access to provide a mechanism for accessing TFS from just a web browser (but obviously doesn't include full version control capabilities)
Finally, the company I work for has a completely standalone TFS client called Teamprise Explorer that is implemented in Java, however this is a commercial product.
Hope that helps,
Martin.
The answer is that there really isn't a standalone version. When you install VS Team Explorer on a machine without Visual Studio, the installer will install a Visual Studio shell. Then, when you run Team Explorer in standalone mode, you are actually running a Visual Studio shell.
Martin had a good point about Team System Web Access, which probably would do the job nicely. Plus it has the added benefit that it allows non Visual Studio users access to work items. But, it was decided that it was too much trouble to get permission to install it here (working for the US Army can have its issues).
My solution for now is to run another instance of Visual Studio and access the Team Explorer tools from there.

Resources