Addin does't work in Revit 2015

Addin does't work in Revit 2015

Anonymous
Not applicable
585 Views
2 Replies
Message 1 of 3

Addin does't work in Revit 2015

Anonymous
Not applicable

Please help me in the next problem.

 

I have a full project of my addin in Visual Studio (VS). In Revit 2014 it works  correctly. Now I tryed my addin in Reviit 2015, and it does't  work. 

I built a new dll. First I put  a new RevitAPI.dll and RevitAPIUI.dll in my project in VS. 

 

Path of dll:

"C:\Program Files\Autodesk\Revit 2015\AddIns\WA\WallsArea2014.dll"

 

I put next list of dll-files to:

"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0"

and 

"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5" 

 

RevitAPI.dll

RevitAPIUI.dll

RevitAddInUtility.dll

RevitAPIIFC.dll

 

In project I use Frameworkv4.5.

 

How it works in Revit 2014: My addin allows me get a spesial window with parameters of walls I built. And puts value of area in special parameter.

In list of addins I see my addin. I can call it, but I get error (on screen). On left of screen you can see my form (now it's empty) and on rigth side - error notification. 

 

I use visual studio express 2013 for win desktop

Revit 2015 (upgrated)

 

 

Please heip me!

Thank you

 

 

0 Likes
586 Views
2 Replies
Replies (2)
Message 2 of 3

maciejwypych
Collaborator
Collaborator
Hi,

I've never learned to read Cyrillic properly, but I'm guessing that you may be using a method/function that have been obsoleted in 2015. See Jerremy Tammik's blog for details http://thebuildingcoder.typepad.com/blog/2014/04/whats-new-in-the-revit-2015-api.html
0 Likes
Message 3 of 3

arnostlobel
Alumni
Alumni

An obsolete method/property would not cause this error. One gets a compiler warning for using deprecated functionality, but the application would still work, for the functionality is still available.

My guess is (I do not read Russian either :-), since the error seems to be about Revit crashing, that the external application uses a method or property that is no longer available in the Revit API. Or, another reason could be that the application's DLL depends on DLL(s) that could not be found.

Arnošt Löbel
0 Likes