Visual Studio TFS shows unchanged files in the list of pending changes

This is normal if a file becomes automatically checked out due to a change, and if ultimately the contents of the file are changed back to it’s original state. At that point you would see the message about identical contents upon comparison. This blog entry describes a not-so intuitive way of dealing with this; and … Read more

NUnit isn’t running Visual Studio 2010 code

I’ve downloaded the NUnit 2.5 source and opened the VS2008 solution in the VS2010 beta. Once the conversion finished I opened all the projects and changed the target framework setting for all the projects to “.NET Framework 4.0”. I then built the solution without any errors. I can now use the NUnit GUI app to … Read more

VS 2010 Test Runner error “The agent process was stopped while the test was running.”

This message is caused by an exception on a thread different from the executing test thread. All answers so far boil down to this simple explanation. It is a known bug in Visual Studio not to display any sensible information in that case. Visual Studio’s test runner totally chokes if a thread other than the … Read more

“Has invalid child element” warnings in Microsoft.Common.Targets while building

If I close all the editor windows, and then build it, all the warnings have disappered! Even a close & restart of visual studio did not fix this, but just closing all files from the editor window, including Microsoft.Common.Targets, fixed the problem. Arghhh Microsoft!! I found this out after looking at this link : http://social.msdn.microsoft.com/Forums/en/Vsexpressvb/thread/31f52b76-b0de-406d-9c25-2f329dd7cf1c … Read more

VSTS 2010 SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x80131515)

I was able to fix this error by finding the assembly DLL in Windows Explorer, right clicking, choosing Properties, and then pressing the “unblock” button. The DLL has a stream that is marking it as an external file – and by clicking unblock you remove that designation.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)