Which .Net library for Revit Add-In?

Which .Net library for Revit Add-In?

yafimski
Contributor Contributor
515 Views
2 Replies
Message 1 of 3

Which .Net library for Revit Add-In?

yafimski
Contributor
Contributor

Hi,

I usually implement Revit API related add-ins via the C# .Net Framework Class Library.

 

Is it also possible to use .Net Core or .Net Standard or any other type of project, to achieve the same?

 

Thanks.

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

jeremy_tammik
Alumni
Alumni

Since the Revit add-in is running inside a session of Revit.exe, you will have to let it use whatever .NET components have already been loaded by Revit.exe. 

  

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

perry.swoboda
Advocate
Advocate
Accepted solution

Addin for Revit 2020 uses .NET 4.72.  Addins for Revit 2021, 2022 and 2023 use .NET 4.8.
.NET Core is more for web development, and Revit is desktop development.  Pretty sure you are stuck with using only the frameworks for now.