Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 10th, 2012  |  syntax: None  |  size: 0.51 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Getting an assembly's directory from an automated test
  2. 'Method 1    
  3. Core.ConfigFile = My.Application.Info.DirectoryPath + "" + DRA_CONFIG_FILE
  4. 'Method 2
  5. Core.ConfigFile = IO.Path.GetDirectoryName(Reflection.Assembly.GetExecutingAssembly().Location) + "" + DRA_CONFIG_FILE
  6.        
  7. C:Documents and SettingsTomasLocal SettingsTempxl3rbd5.4qnMGClient.Testassemblydl32a37397760b182bb_e5c9cc01DRA.config
  8.        
  9. C:Documents and SettingsTomasLocal SettingsTempxl3rbd5.4qnMGClient.Testassemblydl32a37397760b182bb_e5c9cc01DRA.config