Revit 2017.1.1 Development Requirements

Revit 2017.1.1 Development Requirements

Anonymous
Not applicable
1,612 Views
7 Replies
Message 1 of 8

Revit 2017.1.1 Development Requirements

Anonymous
Not applicable

Here I found the Revit 2017 Development Requirements. But I can't find the same info for Revit 2017.1.1. I am to know which minimal .Net Framework version I am to point for my NuGet-package for Revit 2017.1.1. It maybe the same like for Revit 2017, but I want to know it for certain.

 

Where can I find it?

 

Thank you

Accepted solutions (2)
1,613 Views
7 Replies
Replies (7)
Message 2 of 8

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Andrey,

 

Thank you for your query.

 

The development requirements are listed in the Revit SDK documentation.

 

The SDK was updated for Revit 2017.1 and is available from the Revit developer centre:

 

http://www.autodesk.com/developrevit

 

I see a section on Development Requirements in the 'Getting Started with the Revit API.docx', on page 3.

 

Looking at it more closely, I note that it is probably out of date.

 

It mentions the Microsoft .NET Framework v4.5 and Visual Studio 2012.

 

In actual fact, the development requirements for Revit 2017.1 are identical to Revit 2017:

 

Microsoft .NET Framework 4.5.2 and Visual Studio 2015.

 

I hope this helps.

 

I'll pass on this information to the development team and ask them to update the SDK documentation more carefully.

 

Thank you for pointing it out!

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 8

Anonymous
Not applicable

Hello Jeremy -

When you speak of development requirements for Revit 2017 as "Microsoft .NET Framework 4.5.2 and Visual Studio 2015." - - are those minimums?

Is .NET Framework 4.7 too advanced?  Is VS 2017 OK or do I HAVE to use 2015?

I have read and/or interpreted a few explanations for these requirements differently.

 

Thanks for clarification,

Chris

0 Likes
Message 4 of 8

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Chris,

 

.NET 4.5.2 is minimum.

 

All else is optional.

 

You can use higher versions of everything.

 

For exact official information, check out the developer guide:

 

http://help.autodesk.com/view/RVT/2018/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_G...

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 5 of 8

Anonymous
Not applicable

Hi Jeremy,

 


@jeremytammikwrote:

 

You can use higher versions of everything.

 

For exact official information, check out the developer guide:

 

http://help.autodesk.com/view/RVT/2018/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_G...

 

 



Does that mean, that I can build my Revit 2017 Addin with .Net 4.7 and it will work properly?

Is this also valid for Revit 2015 and Revit 2017 Addin assemblies, can they also build with .Net 4.7 and work properly? (as long as the framework is also installed on the machine)

 

I am not very experience in .Net, my naive interpretation had been the following:

* Revit 2017 runs in a Net 4.6 runtime (even when a higher framework is installed on the system).

* This 4.6 runtime can interpret every assembly before 4.6, but it's not guaranteed that it can interpret assemblies build with a higher .Net version like 4.7

 

I am wrong about this?

I am really grateful for an answer as my ignorance bothers me quite frequently when migrating to a new Revit API.

 

Thanks so much

Harald

0 Likes
Message 6 of 8

jeremytammik
Autodesk
Autodesk

>  Does that mean... it will work properly?

 

I believe so. No guarantees, never, ever. Trau keinem ueber 30!

 

>  I am wrong about this?

 

I hope not.

 

Good luck!

 

Cheers, 

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 7 of 8

Anonymous
Not applicable

Hi Jeremy,

 

thank you for your honest answer 🙂

 

An exact answer is currently quite important for us, as we have a dependent assembly we have to use and build with .Net 4.6.1.

 

Concrete: Is it possible to use a addin build with .Net 4.6.1 in Revit 2015/2016/2017?

 

Thanks a lot from snow-covered Dresden

0 Likes
Message 8 of 8

jeremytammik
Autodesk
Autodesk

Dear Harald,

 

.NET is very flexible in calling one assembly from another.

 

It does not matter what programming language you use, since it is all compiled to one and the same intermediate language IL.

 

It does not matter what version of .the NET framework you are running on.

 

All that matters is that the methods you call really are available in the assemblies that you load and use.

 

I would assume that it will work well with the configuration you list.

 

I am sorry I cannot provide any guarantees.

 

The only official statement is provided by the developer guide i already cited:

 

http://help.autodesk.com/view/RVT/2018/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_G...

 

Maybe others can confirm that it works.

 

I did play around now and then with multi-version support, and it is easily doable:

 

http://thebuildingcoder.typepad.com/blog/2013/11/multi-version-visual-studio-revit-add-in-wizard.htm...

http://thebuildingcoder.typepad.com/blog/2012/07/multi-version-add-in.html

http://thebuildingcoder.typepad.com/blog/2015/06/adn-labs-xtra-multi-version-add-ins-and-cnc-direct....

 

Maybe those discussion will help clarify the issue for you.

 

Cheers from snowy Switzerland,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes