title: Visual Studio 2015 - Run Tests Fails and stuck in a loop
body: <p>I need help, suddenly I cannot run tests in VS2015 for a specific solution (others work), I can debug tests successfully but not able to run them normally.</p>
  
  <p>it builds the solution and then writes in the status bar "unexpected error detected ..."
  in the output tests it writes "the operation was canceled"
  and then repeats itself automatically, seems it enters into an infinite loop, I need to terminate VS in order to continue my work.</p>
  
  <p>I've tried to log activities in VS but there is no information about an error that I could find there.</p>
  
  <p>any thoughts on the cause of this ?</p>
  
  <p>any suggestions on troubleshooting this ?</p>
  
  <p>Update :
  apparently after some isolation I have found that the following PreBuild event caused this :
  set textTemplatingPath="%CommonProgramFiles(x86)%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe"
  if %textTemplatingPath%=="\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" set textTemplatingPath="%CommonProgramFiles%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe"
  %textTemplatingPath% "$(ProjectDir)AssemblyFileVersion.tt"</p>
  
  <p>which is very wired since it worked before, any ideas ?</p>