Migrating from VB.NET to C# .NET?

Migrating from VB.NET to C# .NET?

dhanait_ajay13
Enthusiast Enthusiast
374 Views
2 Replies
Message 1 of 3

Migrating from VB.NET to C# .NET?

dhanait_ajay13
Enthusiast
Enthusiast

One task is completed using VB.NET but Our organizational directive is to move towards C# in the long run.

So it is need to know something before conversion and What are the key technical challenges or Is there any key considerations involved in migrating?

Or is there any Limitations comes with VB.NET for Revit API uses?

0 Likes
Accepted solutions (1)
375 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni
Accepted solution

Basically no limitations. The migration should be very straightforward and can be partially automated. The Revit API is pure .NET. All languages supporting .NET are compiled into one single identical intermediate language IL. IL can be decompiled to restore the original source code. However, it can also be decompiled to a different source code language. So, you can take your VB.NET assembly DLL and decompile it to C#. Lots of tools support you in this effort, including the Revit macro editor:

  

   

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 3

dhanait_ajay13
Enthusiast
Enthusiast

@jeremy_tammik thank you for your information's.

0 Likes