zQueal / pserv4

Automatically exported from code.google.com/p/pserv4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal setup for commandline

GoogleCodeExporter opened this issue · comments

good to see the corpse reanimated! 

What is the minimal set of files needed for the command line tools, 
particularly for `pathed`?

I tried putting just `pathed.exe` and `GSharpTools.dll` in PATH but get an 
error when trying to use it:
{{{
d:\>pathed

Unhandled Exception: System.TypeInitializationException: The type initializer 
for 'GSharpTools.InputArgs' threw
 an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.13.0
, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. 
The system cannot find the file
 specified.
File name: 'log4net, Version=1.2.13.0, Culture=neutral, 
PublicKeyToken=669e0ddf0bb1aa2a'
   at GSharpTools.InputArgs..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value 
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWO
RD) to 1.
Note: There is some performance penalty associated with assembly bind failure 
logging.
To turn this feature off, remove the registry value 
[HKLM\Software\Microsoft\Fusion!EnableLog].

   --- End of inner exception stack trace ---
   at GSharpTools.InputArgs..ctor(String appName, String caption)
   at pathed.pathed.Run(String[] args)
   at pathed.pathed.Main(String[] args)
}}}

Original issue reported on code.google.com by map...@gmail.com on 6 Mar 2014 at 5:31

...answering my own question, I had somehow missed `log4net.dll`. So, the 
minimal for pathed is:

   pathed.exe
   log4net.dll
   GShartpTools.dll

Original comment by map...@gmail.com on 6 Mar 2014 at 5:36