I am trying to create DLL out of my C# code, I found some links that guides me to create my DLL file and use it in Excel as I wanted. One of the steps is to check the “Register COM interop” check box in the Build tab of the project.
Unfortunately, this checkbox is always disabled! Does anyone know how to enable it ? I am using VS 2010.
firstly verify your output type, it must be Class Library and not Console application.
Secondly if your problem persists, open your csproj and modify your node