Hi,
I'm trying to build my application, so that it'll work with both 2009 as 2011.
It should work by adding Conditions to the references, like this:
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug AutoCAD2011|AnyCPU'">
2011 Interop references
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug AutoCAD2009|AnyCPU'">
2009 Interop references
</PropertyGroup>
But when building this, I'm getting errors like
The type '<class>' exists in both '<dll location>' and '<dll location 2>'
on IAcadApplication, for example.
In another post, the final solution seems to be using Copy Local, but I'm not sure that's a very good solution.
Any suggestions/ideas?