errors while build and run old vs c# project while referencing autocad 2019

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to fix a bug in old 2003 vs project created a long time ago in my company. The project references an old autocan version (not sure which version. If it is important I will find it in one of the following days when someone will be in he office).
At my computer at home I have Visual Studio Community 2017 and I installed an autocad 2019 to test if I can build the old vs project.
I get about 100 errors of un-recognized type or namespace such as Interop, AcadApplication, AcadDocument, AcadEntity, etc...
I do see that some autocad includes succeed, for example:
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Geometry;
I tried to find a solution in google and in the forums here and in VS.
I understood that it is probably related to adding references to the project, so I entered the COM part of the Reference Manager and added all the autocad 2019 Type Library, all the autocad Map MPolygon Type Library and all autocad/ObjectDBX Common 23.0 Type Library.
It didn't help either.
Help will be very appriciated.