linux-packaging-mono/debian/MonoGetAssemblyName.cs
Jo Shields e3d7b54ca3 Initial Debianization, imported from Debian 3.2.8 package
Former-commit-id: bb0edac46772972b4c99a84b8e1791f43b9195f5
2014-08-13 12:08:26 +01:00

15 lines
302 B
C#

using System;
using System.Reflection;
public class GetAssemblyName
{
public static void Main(string [] args)
{
if (args.Length == 0)
throw new Exception("You must supply an assembly name");
Assembly assembly = Assembly.LoadFile(args[0]);
Console.WriteLine("{0}", assembly.FullName);
}
}