Hi all,
I have recently inherited a C# .NET solution in VS 2008, .NET framework 3.5, with many 3rd party dependencies including several on COM dlls. I checked out the latest from the source control system and found I had to generate the Interop, AxInterop dlls in Visual Studio (adding references and adding them to the Toolbox and dragging them onto a dialog) for them to be properly referenced in the project and registered. From that process it seems to work ok but the project is referencing these dlls in the /obj area which isn't in source control.
I was wondering, and maybe this is not sensible, is there a way you can create these AxInterop/Interop dlls and submit them to source control such that if I wanted to check out the solution onto a new computer I wouldn't have to recreate these files (because they are stored in the obj area). I'd like to avoid having the obj area in source control because of all the other unnecessary files in it.
I tried copying the dlls to a source controled directory and creating references to these (AX)interop dlls but that creates a slightly different version of the dlls which causes other issues (e.g. errors saying a component isn't registered).
I hope that makes sense and thanks for any help!