Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Manage tooling with different Civil3D versions

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
gleeuwdrent
555 Views, 3 Replies

Manage tooling with different Civil3D versions

Does anyone has a best practice how to manage .NET tooling with different Civil3D versions? I have a Visual Studio project with a lot of tools, and I want to make the tooling available for different Civil3D versions (2018, 2019. 2020). But you can't reference to the libraries of different versions in the same project. Is there a way to manage this without copy the whole project and re-reference the libraries? Because then you have to manage the full project multiple times.

Thanks in advance!

3 REPLIES 3
Message 2 of 4
465340553
in reply to: gleeuwdrent

Create multi projects in one solution,

Manage files in one project,

In other projects,

Add File As Link。

When code is modified in the first project,

All projects will synchronization update。

 

 

 

王磊
您认为此帖子是否有用?欢迎为此帖点赞。
您的问题是否已得到解答?请点击“接受解答”按钮。

EESignature

Message 3 of 4
Jeff_M
in reply to: gleeuwdrent

As long as you aren't using the COM API, you should be able to compile in an older release and still be able to use it in newer versions.

I have many tools, some of which still require COM, so all I do is copy the *.csproj file, edit the references using Notepad (search and replace 2020 to 2021), save then load that project. It still uses all the same code.

 

2020-05-13_6-55-18.png

 

My Solution actually has 5 different Projects, so I do the same for each project as well as the Solution. Takes maybe 5 minutes to do this each year.

Jeff_M, also a frequent Swamper
EESignature
Message 4 of 4
gleeuwdrent
in reply to: 465340553

Thanks, I wasn't aware of the linked files option in Visual Studio. Very useful.

Other solution of Jeff also appreciated. 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report