Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • Change Visual Studio Workspaces for Team Foundation After Client Name Changed

    Posted on February 2nd, 2013 Sean Add comments

         As 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:

    1. Make sure Team Explorer has been installed. (most likely it’s there if VS2010 installed)
    2. 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)
    3. Run the command
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    36 views
  • Create XML Comments for Custom Function in VIsual Studio 2010

    Posted on September 25th, 2011 Sean Add comments

         If 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.

         After finish comments, enable “XML Documentation” option for your project:

    1. Open project property
    2. Go to “Build” tab
    3. Check “Xml documentation file”
    4. Build project, then check the XML comments in other project
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    418 views
  • Fixing “Unable to get the project file from the Web Server”

    Posted on August 24th, 2010 Sean 5 comments

         When 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:

    1. Check the webinfo file, make sure the “URLPath” is correct.
    2. Recreate the virtual directory for it and restart IIS.
    3. Delete the project cache in “C:Documents and SettingsusernameVSWebCache”
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    991 views
  • Visual Studio Website Administration Tool & SQL Server Express

    Posted on June 24th, 2010 Sean 1 comment

          In 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 »

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    887 views