
Untitled
By: a guest on
May 10th, 2012 | syntax:
None | size: 0.51 KB | hits: 12 | expires: Never
Getting an assembly's directory from an automated test
'Method 1
Core.ConfigFile = My.Application.Info.DirectoryPath + "" + DRA_CONFIG_FILE
'Method 2
Core.ConfigFile = IO.Path.GetDirectoryName(Reflection.Assembly.GetExecutingAssembly().Location) + "" + DRA_CONFIG_FILE
C:Documents and SettingsTomasLocal SettingsTemp xl3rbd5.4qnMGClient.Testassemblydl32a37397760b182bb_e5c9cc01DRA.config
C:Documents and SettingsTomasLocal SettingsTemp xl3rbd5.4qnMGClient.Testassemblydl32a37397760b182bb_e5c9cc01DRA.config