Пример #1
0
        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
 static ProgramBase()
 {
     ConsoleLoggerProvider.Install();
 }