![]() Then a developer with Office 2003 gets the project from source control, and cannot build it because such a reference doesn't exist. csproj file, deletes the reference to Microsoft Office 11.0 Object LibraryĪnd re-adds the COM reference as Microsoft Office 12.0 Object LibraryĪnd magically a named reference appears: Then a developer with Office 2007 gets the project from source control, and cannot build it because such a reference doesn't exist. The Project.csproj file shows the details of the reference: Īnd the project is checked into source control and all is well. ![]() Select Microsoft Office 11.0 Object LibraryĪnd magically named reference appears:.The technique for adding a reference to the COM interop of Office in Visual Studio is to go to:
0 Comments
Leave a Reply. |