exePath = "relative.exe";
File.Create (Path.Combine (tempFolder, exePath)).Close ();
- config = ConfigurationManager.OpenExeConfiguration (exePath);
- Assert.AreEqual (Path.Combine (tempFolder, exePath + ".config"), config.FilePath, "#4");
+ //
+ // The temp directory as computed by the runtime is slightly different, as
+ // it will contain the full path after following links, while the test
+ // below is not comprehensive enough to follow links if there are any
+ // present in tempFolder
+ //
+
+ //config = ConfigurationManager.OpenExeConfiguration (exePath);
+ //Assert.AreEqual (Path.Combine (tempFolder, exePath + ".config"), config.FilePath, "#4");
}
[Test] // OpenExeConfiguration (String)