Exception when using hangfire Recurring

I am getting following exception when using recurring job

Could not load file or assembly ‘DynamicProxyGenAssembly2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.

I am using aspnet boilerplate