When you want to register your output .Net Assembly for COM interop automatically follow the follwoing Steps and enjoy programming.
- Click Project..Select Project Properties,
- in the properties Dialog Box Select Configuration Properties..
- In the right side property grid ..In the Section Output..set the value for Register for COM Interop to true
Thats all your assembly will be automatically registered when you build your application.
All the best..