-
Change Visual Studio Workspaces for Team Foundation After Client Name Changed
Posted on February 2nd, 2013 Add commentsAs part of source control in visual studio team foundation, ever user has their own workspace tie to the computer name of client and username on Team Foundation Server. If any one needs to change the computer name on client computer or the username, should use “tf.exe” command from the visual studio like following:
- Make sure Team Explorer has been installed. (most likely it’s there if VS2010 installed)
- Open a command line window and go to folder “C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE” (or “C:\Program Files(x86)\Microsoft Visual Studio 10.0\Common7\IDE” if on Windows 7)
- Run the command
1tf workspaces /updateComputerName:Old_Computer_Name /s:http://Tfs_server_URL
36 views
-
Create XML Comments for Custom Function in VIsual Studio 2010
Posted on September 25th, 2011 Add commentsIf you need to add your custom comments for your function, including function summary, parameter description, return value etc., just add “///” right before your function, then VS will generate XML layout for you.
123456789/// <summary>////// </summary>/// <param name="para"></param>/// <returns></returns>public bool YourFunction(int para){//Code here}After finish comments, enable “XML Documentation” option for your project:
- Open project property
- Go to “Build” tab
- Check “Xml documentation file”
- Build project, then check the XML comments in other project
418 views
-
Fixing “Unable to get the project file from the Web Server”
Posted on August 24th, 2010 5 commentsWhen trying to open an existing project in Visual Studio 2003, if keep getting a pop up message “Unable to get the project file from the Web Server”:
Try following to fix the problem:
- Check the webinfo file, make sure the “URLPath” is correct.
- Recreate the virtual directory for it and restart IIS.
- Delete the project cache in “C:Documents and SettingsusernameVSWebCache”
991 views
-
Visual Studio Website Administration Tool & SQL Server Express
Posted on June 24th, 2010 1 commentIn Visual Studio the Website Administration Tool lets you view and manage the Web site configuration through a simple Web interface. But sometimes there is problem which is when using the Website Administration Tool to make a new connection for a new website, for example, using the security tab of the Website Administration Tool to manage rules for securing specific resources in the web application or website, it will display an error message “Unable to connect to SQL Server database”, even you have SQL Server Express installed and no problem to connect to it.
To solve this problem, try one or more of the following ways:
Read the rest of this entry »
888 views
Recent Comments