There are two ways that I found to this but I found the second one better for readability. 1. Test Run Configuration file 2. DeploymentItemAttribute I am interesting in the “DeploymentItemAttribute” because its more readable gives flexibility to add either on the Test Class level so that more than 1 test can get the files or at Test Method level. I have a solution contains multiple project one of the project requires xsds to be there with the assembly. So 1. select the all the files scattered in ......
DECLARE @RegLoc VARCHAR(100) select @RegLoc='SOFTWARE\Microsoft... NT\CurrentVersion' EXEC [master].[dbo].[xp_regread] @rootkey='HKEY_LOCAL_MACHINE', @key=@RegLoc, @value_name='ProductName' The above code will return the installed version of windows on which the current instance of Sql Server is running. references: http://www.mssqlcity.com/Ar... ......