A
Al
Is it possible to call c# dll's from the command line?
I am used to the Java world where classes are packaged in jar files
which can either be accessed from an application or run directly with
java.exe if there are one or more classes with main methods in them. So
i guess i am asking for an equivalent to java.exe in C#. Is there some
prebuilt app in the .NET environment that looks for a Main method in a
certain class in a dll that I can use to execute it?
I know the easiest way to get around this would be to just create a
console app that invokes the dll, but I need to know if it is possible
to run the dll directly from command line.
I am used to the Java world where classes are packaged in jar files
which can either be accessed from an application or run directly with
java.exe if there are one or more classes with main methods in them. So
i guess i am asking for an equivalent to java.exe in C#. Is there some
prebuilt app in the .NET environment that looks for a Main method in a
certain class in a dll that I can use to execute it?
I know the easiest way to get around this would be to just create a
console app that invokes the dll, but I need to know if it is possible
to run the dll directly from command line.