Undo user checkout in tfs

Many ways have been done by me, but nothing for the result. Just only because of a user forgets to check in his working in TFS server, everything getting wrong every updates the file. That user must check in it, but he has been resigned. Try to use his account by asking his password from Visual Studio connects TFS, again failed, also has been used Administrator account.

Must be there is a way to solve this. After searching some thing with key word “tfs undo” in google, finally find the article from msdn which can help me to solve the problem. It is using command prompt utility of Visual Studio. It is a cool command and problem solved.

Click Start, click All Programs, click Microsoft Visual Studio 2008, click Visual Studio Tools, and then click Visual Studio Command Prompt.
Type the following command and replace the arguments with …


Visual Studio 2010, Build error, Build (web): Object reference not set to an instance of an object in rpt

Solution:

Find in web config:

<buildProviders>
<add extension=”.rpt” type=”CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304″/>
</buildProviders>

change to

<buildProviders>
<add extension=”.rpt” type=”CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304″/>
<remove extension=”.rpt”/>
</buildProviders>

 

Referensi: http://software-works.blogspot.com/2010/05/visual-studio-2010-build-error-build.html