MSTest Failure - File extension specified '.dll' is not a valid test extension.

Hi,

I use a special account to run my build agent and VCS checkouts from TFS. The account's password is compulsorily updated every 90 days.

MSTest was running perfectly fine from TeamCity for my build configurations. Since I have changed the password for the account, updated it in the VCS settings, MSTest throws the following error:

File extension specified '.dll' is not a valid test extension.

MSTest runs absolutely fine from the build agent server's command line using parameter test container(exactly as setup in TeamCity).

None of my build configurations are passing the MSTest step now on TeamCity, any help will be greatly appreciated.

0
1 comment

Hi Shweta,

 

I haven't been able to find any other instance of this error message at all. I would recommend double checking whether something else changed. As far as I understand, this message actually comes from MSTest itself, and seems to be dependent on your environment. I've been able to find some references about it here: https://stackoverflow.com/questions/4501426/mstest-file-extension-specified-dll-is-not-a-valid-test-extension

 

Please check some of those comment as they might point out the actual reason behind this issue.

0

Please sign in to leave a comment.