tynor88 / Topshelf.SimpleInjector

Put your apps on the Topshelf, with the power of SimpleInjector & Quartz.NET!
MIT License
13 stars 14 forks source link

Needs to skip app path using Environment.GetCommandLineArgs().Skip(1) #5

Closed tohagan closed 8 years ago

tohagan commented 8 years ago

I ran the unit test suite and was using Reshaper Runner that happened to include the word "Installation" as part of the Runner path (this is probably the default installation directory). Consequently Line 56 in SimpleInjectorScheduleJobServiceConfiguratorExtensions.cs caused a unit test to fail:

Environment.GetCommandLineArgs() needs to be Environment.GetCommandLineArgs().Skip(1)

Thanks!

tynor88 commented 8 years ago

@tohagan This is now fixed. Please see commit: https://github.com/tynor88/Topshelf.SimpleInjector/commit/11f5448227f7a8f258f3b897af1abaf41eb6e6d2 for code details.

tohagan commented 8 years ago

Thanks very much!