Thursday, May 13, 2010

c# Changing References

Sometimes you come across some code that’s been built on another version of Civil 3D then what you want. In order for it to work you need to change the references. Depending on your development environment you can modify the references the way that’s done in this post, if not the steps are slightly different. For this post I’m changing the references in the Quux’s Free version of the SincPac 3D (available soon), from Civil 3D 2010 to 2011. 

The first step is to add a Reference Path. To do this go to the Project Properties, Reference Path Tab and then add the folder.

You can also add references by right clicking in the Solution Explorer and selecting them from the list or browsing to the location. First you need to delete the reference from the previous or later version.

Now all you should need to do is check for any version API issues and build the code.

No comments:


Blog Widget by LinkWithin