/*
 * Console에서 DLL생성과 DLL을 이용해서 실행파일 만들기
 */

/*
#DLL Creation
prompt>csc.exe /target:library TrisPackage.cs
prompt>csc.exe /target:library TrisPackage.cs
prompt>csc.exe /target:library TrisPackage.cs
prompt>csc.exe /target:library TrisPackage.cs
prompt>csc.exe /target:library TrisPackage.cs

prompt>dir
TrisPackage.cs
TrisPackage.dll

#EXE Creation reference by DLL File
prompt>csc.exe /out:example.exe /referece:TrisPackage.dll example.cs
prompt>csc.exe /out:example.exe /referece:TrisPackage.dll example.cs
prompt>csc.exe /out:example.exe /referece:TrisPackage.dll example.cs
prompt>csc.exe /out:example.exe /referece:TrisPackage.dll example.cs
prompt>csc.exe /out:example.exe /referece:TrisPackage.dll example.cs
*/

/*FILENAME:example.cs*/
using TrisPackage.Tris;

class Program
{
    public static void Main(string[] args)
    {
        TrisCls nm = new TrisCls();
        nm.running();
    }
}


+ Recent posts