title: Using Topshelf without capturing the command line parameters
body: <p>I am using the Topshelf nuget package to host a service. The service's configuration is passed through both command line parameters and an appconfig.json file. I use Config.Net to load the configuration:</p>
  <pre><code>new ConfigurationBuilder&lt;IAppSettings&gt;()
      .UseCommandLineArgs()
      .UseJsonString(jsonFileContents)
      .Build();
  </code></pre>
  <p>My problem is that Topshelf throws an exception when I try to pass command line parameters for Config.Net, because it thinks that these were parameters meant for the installer. I do not want to use Topshelf's built-in command line functionality; Config.Net specialises in this task and I find that it is infinitely better at it. Is there some way in which I could use Topshelf <strong>only</strong> for its service-starting functionality, even if it means foregoing the service installation features?</p>