예제 #1
0
파일: Program.cs 프로젝트: enyim/BuildTools
        private static void Main(string[] args)
        {
#if EASY_DEBUG
            if (Debugger.IsAttached)
            {
                string Source;

                Source = @"D:\Repo\BuildTools\Tests\TargetNetstd\bin\Debug\netstandard2.0\TargetNetstd.dll";
                //string Source = @"D:\Repo\BuildTools\Tests\TestReferences\bin\Debug\netstandard2.0\TestReferences.dll";
                //string Source = @"D:\Repo\BuildTools\Tests\TestReferences\obj\Debug\netstandard2.0\TestReferences.dll";
                Source = @"D:\Repo\enyimmemcached2\Memcached\bin\debug\netstandard2.0\Enyim.Caching.Memcached2.dll";

                const string Output = "--output d:\\lofasz.dll";

                args = $@"LogTo {Source} {Output} --debugsymbols:true --debugtype portable".Split(' ', options: StringSplitOptions.RemoveEmptyEntries);
                //args = $"--source {Source} --rewriter logto -w pina -r ref1.dll --reference ref2.dll;ref3.dll -p a=1;b=2;c=3 --property d=4 --debugsymbols:true ".Split(' ', options: StringSplitOptions.RemoveEmptyEntries);
            }
#endif

            ConsoleLoggerProvider.Install();

            Run(args, o => new Rewriter().Rewrite(o));
        }
예제 #2
0
파일: Program.cs 프로젝트: enyim/BuildTools
 static ProgramBase()
 {
     ConsoleLoggerProvider.Install();
 }