I would like to know the procedure for creating an Inventor Add-in using C# or VB.NET. Any settings to be made or how?

I've tried using templates from from various sources, but I got an error. If anyone has successfully done the process, it would be so helpful if you would guide me through it.

Thanks in advance.