Geeks With Blogs
kazim mehdi September 2011 Entries
MSTest–Copy Assembly’s Directory set to output to the test run directory
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 ......

Posted On Thursday, September 15, 2011 11:29 AM

Reading Registry value using T-SQL
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: ......

Posted On Thursday, September 8, 2011 9:52 AM

Copyright © kazim sardar mehdi | Powered by: