TFSBuild fails with error MSB4018 "ResolveKeySource" task failed unexpectedly

When you upgrade from TFS 2005 to TFS 2008, if your project has strong name setup then building your solution from TFSBuild might throws error: Target “ResolveKeySource” in file “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets” from project “e:\build\abc\ccc.csproj”:Using “ResolveKeySource” task from assembly “Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”.Task “ResolveKeySource”C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1728,7): error MSB4018: The “ResolveKeySource” task failed unexpectedly.C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1728,7): error MSB4018: System.InvalidOperationException: Showing a modal dialog box or…


Can you bind Validation Rules to datasources?

And the answer is yes. I came accross this question many time so thought of putting a blog on it. Below are the steps to follow on how to bind datasource to validation rule. Its not different than any other databinding in test. 1. You should have a webtest. To know how to create a…