Here are the examples of the csharp api System.Reflection.Assembly.GetAssemblyFilePath() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : AssemblyUtilities.cs
with MIT License
from BrunoS3D
with MIT License
from BrunoS3D
public static string GetreplacedemblyDirectory(this replacedembly replacedembly)
{
if (replacedembly == null) throw new ArgumentNullException("replacedembly");
var path = replacedembly.GetreplacedemblyFilePath();
if (path == null)
{
return null;
}
try
{
return Path.GetDirectoryName(path);
}
catch
{
return null;
}
}