TFS 2010 Team Project Portal Setting - visual-studio-2010

I am not seeing the out of the box workbooks that come with MSF for Agile Software Development v5.0 in my Team Project. Turns out, TFS stores the Excel files for the template in the SharePoint portal that needs to be specified in the project settings.
From the Project Settings, There seems to be two different ways in which you can specify the Porject Portal location:
My Question:
I am not sure why "Use this SharePoint Site" is listed as (Not configured)? Does the Team Foundation Server needs to have a local SharePoint instal for this option to be enabled? Or is it some kind of permission issue?
Also, when I enter the SharePoint site collection root URL in the "Use a Web site" textbox, there is not much change in the situation. How is one supposed to use this option?
Does this mean that in order to use the workbook one needs to install SharePoint in TFS?

In order to use the workbook you do not need sharepoint. What you need to do is go to the Team Project Collection Node and right click and choose Process Template Manager, Download the process template on to your local computer. Go to the folder and you will see the excel workbook, you will be able to use the workbook.
MSDN article listing the steps to download the process template http://msdn.microsoft.com/en-us/library/ms181511.aspx
To Answer your other questions,
Q. I am not sure why "Use this SharePoint Site" is listed as (Not configured)? Does the Team Foundation Server needs to have a local SharePoint instal for this option to be enabled? Or is it some kind of permission issue?
You have an option to set up the sharepoint site when you create a new team project, however you have an option of not creating a new team site with each team project and can skip this step and come back later to the team project to associate an existing team site to the team project.
Q. Also, when I enter the SharePoint site collection root URL in the "Use a Web site" textbox, there is not much change in the situation. How is one supposed to use this option?
You do not need the team site for this, unless you are planning to publish the excel using excel services to the sharepoint site.
Q. Does this mean that in order to use the workbook one needs to install SharePoint in TFS?
No.
HTH
Cheers,
Tarun

Related

Not Working: Add a Project to Team Foundation Server 2012 using Visual Studio 2015

I am trying to add new projects to the Team Foundation Server and every way I have tried to add them has failed. We are running TFS 2012 Version: 11.0.50727.1 (RTM) and I am running Visual Studio 2015. I am a member of the Administrators Group.
I have tried at least 3 ways that MS support says how to do it on the website and none of them have worked:
I have tried to add it through Visual Studio
I have tried to add it through the Team Foundation Server Administration Console on the Server.
I have tried to add it through the TFS Web Management Portal.
When I try to add it through Visual Studio, I get an error when trying to check it in. It shows on the Source Control Explorer with a pending change of 'Add'. Here is a screenshot of the team explorer and output:
Since the message tells me to add it to the server, I opened the TFS Server Admin Console and When I go into the Team Projects Tab under Team Project Collections, it lists the existing projects, however, there is no way to add a new project. Here is a screenshot of the Admin Console:
There is only a help icon with a link on How to add a Team Project, although like with most MS help articles, it is useless. It provides information about how to do it on the web. So I tried it. I accessed the web portal for our TFS server and there isn't any option to add a project there either. When I go in to the "View the collection administration page" It tells me "Not all Collection level administration is exposed in the web experience. For all administration operations at the collection level please use the Administration Console on your Team Foundation Server.". Here is a screenshot of the online portal:
Can someone please help me with this issue? How can I add the projects to the Team Foundation Server?
I figured out how to Add the projects to the Team Foundation Server using Visual Studio 2015. It is very simple and can be done right from the File Menu in Visual Studio.
First open Visual Studio 2015. (I am not sure if it works the same in other versions.)
Go to File -> New -> Team Project...
The New Team Project Wizard will popup where you can then enter the project name and project description.
Then you can choose the template type and whether you will be using TFS Version Control or Git Distributed Version Control.
Once you click Finish, the Project will be added to TFS.
You can then add the files to the workspace folder on your dev machine.
Then you can check the files into TFS using the Team Explorer. *Note: First, you may need to add the files to the project by going to the Solution Control Explorer and right clicking on the newly created project and selecting Add Items to Folder. From there you can add the files then check them in using the Team Explorer.
Please clarify you want to create a code project/solution and add it to a TeamProject, or you want to create a TeamProject. TeamProject and code project/solution are different.
If you want to create a new TeamProject, according to Client compatibility, TFS 2012 supports VS 2015 RTM or latest update. Check your VS 2015 edition and re-try to create a TeamProject.
If you want to add a code project/solution to a TeamProject, you'll have to connect a TeamProject first and create a workspace, then perform a check-in: https://www.visualstudio.com/en-us/docs/tfvc/set-up-team-foundation-version-control-your-dev-machine
Last, try to clean the Cache folder on your dev computer. The folder path is: C:\Users\username\AppData\Local\Microsoft\Team Foundation\4.0\Cache.
If none of above works, try on another dev machine to see whether you can reproduce this issue.

SharePoint Visual Studio solution not visible in solution gallery

I am trying to locate my solution (WSP) in the solution gallery of SharePoint 2013
I am site collection administrator
in Visual Studio I created a solution containing lots of stuff, all works ok, shows up etc..
(deployed via VS and works, site url = site collection root url)
However... I look in the solution gallery of SP2013 (site collection) and dont see the solution, its
actually... empty,
so.. since it has been deployed, activated and works... where is it?
Farm solutions are displayed in the Central admin site. Even though in Visual Studio you target your WSP to be deployed in a certain web-site, all WSP's(solutions) available in the farm level are displayed at Central Admin. In this way, if you want to deploy the same solution to a different web application you could do it from central admin. It actually makes the work easy.
So, It's not displayed in the web application which you deployed to. Please check on the central admin site.
Go to central admin > System settings > Under "Farm Management" you get "Manage Farm Solutions". All the farm solutions will be listed down there.

Create a Sharepoint site populated with default settings for an existing team project in TFS 2012

Has Microsoft addressed the difficulty of creating a SP site after creating the Team Project in TFS 2012? I am aware of the methods outlined here, but I was hoping they had come up with something slicker in the new version. If not, does anybody know of a better method or tool than the one suggested in the previous link?
The TFS Power Tools has a command tfpt addprojectportal that will create the SharePoint site for you after the Team Project has already been created. You will need to know process template that was used to create the team project. You will be able to find all the options you need for the command by using the /? switch.

Visual Studio 2010 can't open a web browser, tells me to restart Windows every time

I'm trying to publish an Azure application, but can't sign in using Visual Studio 2010. I get the error message "The web browser cannot be started. To resolve this problem, you must restart Windows."
I've tried both rebooting and making Internet Explorer the default browser, but I still get the error message. This also occurs when clicking on other links (for example "Online Privacy Statement" in the same publish dialog box).
How can I fix this, or alternatively, are there any other easy ways to publish to Azure?
There are several ways to publish to Azure. Depending on your preference, some of them may be easy. Some, not so much.
First of all, are you using a source control? If you're using git, then you can use Azure Git Repository that comes free with Azure Websites and also Azure Cloud Services. So when you push your code to the Azure repository, it automatically publishes the final bits to the corresponding site.
If you're using TFS locally (at home or office), you can set up a build task that'll deploy the bits to Azure. Also, check out TFS Preview if you are comfortable with a Microsoft hosted free TFS server.
If you feel comfortable using FTP, you can get the FTP account details from the Azure portal when you set up a new azure website or a cloud service.
Finally, one of the easiest way to publish to Azure is to use the Publish Profile feature.
You'll find a link called "Download Publish Profile" associated with
your azure website. Click on that to download the profile (an XML
file).
Then right click on your VS project and hit Publish. Under Profile
tab, select "Import" and pick this downloaded file.
It should populate all the details for you. Test your connection to make sure everything works okay.
Publish and ENJOY!
UPDATE: Based on the comment to this answer, adding screenshot to show where to get the FTP details for your azure website.

Importing a visual studio-project locally on SharePoint

I'm kinda new to all this. But I've downloaded a bunch of folders and files from a SVN server. It seems like these are mostly webparts and Visual Studio files/solution for a SharePoint site.
I have installed SharePoint locally on my computer, and i want this SharePoint site with all this features locally as well.
Where do i put all the files/folders so i can open it in SharePoint?
Thanks!
If you have the Visual Studio Solution you can click on the project within the solutions and set the SiteURL in the properties window to the Site Collection or Server you wish to have the items deployed to. I would also set Sandboxed Solution to false. Then right click on the project and Deploy.

Resources