Deploy Custom assembly in reporting services

Recently I had to do a report that generates barcodes using an assembly (dll). In order to use the dll, you can do few different things. One is to use GAC and register it. If that doesnt work then second option is you can copy the dll into folder “%ProgramFiles%\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer\bin” and that works perfectly.