Revit addin Identity Problem during debugging unsigned addi

Revit addin Identity Problem during debugging unsigned addi

info4UZZZ
Observer Observer
736 Views
4 Replies
Message 1 of 5

Revit addin Identity Problem during debugging unsigned addi

info4UZZZ
Observer
Observer

Hi all

I'm facing a tedious problem.

During my addin development cycle normally I point my manifest file to the bin/x64/Debug/addin_to_debug.dll. Start debugging from VIsualStudio, Revit open, say that addin is not signed, I press load anyway and all is good.

 

Recently with both Revit 2022 and 2023 I'm incapable to proceed any further, the addin isn't loaded and all I got is this message.

info4UZZZ_0-1698611997205.png

I try to put addin both using a bundle inside ApplicationPlugins and in %AppData%/Autodesk/Revit/Addins/2023 but nothing change. All I got is an API Error inside the journal (see the attached file error for Superconsulting).

Uninstall Revit, delete all folders&regkey, reinstall Revit doesn't have any effect.

Any suggestion is more than welcome.

 

I would like to understand how is possible to investigate further to understand and solve this problem.

Thanks

Paolo

0 Likes
737 Views
4 Replies
Replies (4)
Message 2 of 5

jeremy_tammik
Alumni
Alumni

In your journal file, I see:

  

'C 29-Oct-2023 21:22:43.285;   0:< start up warnings for AddIns 
' 0:< ::48:: Delta VM: Avail 134178426 MB, Used +1 -> 512 MB; RAM: Avail -12 -> 17771 MB, Used +0 -> 588 MB 
' 0:< GUI Resource Usage GDI: Avail 9808, Used 192, User: Used 175 
' 0:< TaskDialog "Revit cannot run the external application "CubintoForRevit". Contact the provider for assistance.  Information they provided to Revit about their identity: Cubinto, www.cubinto.com."
'Id : TaskDialog_External_Tools_External_Tool_Failure
'CommonButtons : Close
'DefaultButton : Close 
  'C 29-Oct-2023 21:22:56.469;   0:< Notify Active View. 
' 0:< ::48:: Delta VM: Avail +0 -> 134178427 MB, Used +2 -> 514 MB; RAM: Avail +12 -> 17784 MB, Used +5 -> 593 MB, Peak +1 -> 594 MB 
' 0:< GUI Resource Usage GDI: Avail 9803, Used 197, User: Used 176 
' 0:< TaskDialog "Revit cannot run the external application "Alessandria". Contact the provider for assistance.  Information they provided to Revit about their identity: Superconsulting."
'Id : TaskDialog_External_Tools_External_Tool_Failure
'CommonButtons : Close
'DefaultButton : Close 

  

What is CubintoForRevit?

    

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

info4UZZZ
Observer
Observer

It's another addin.

I was doing some testing. Anyway I attached the journal after CubintoForRevit was uninstalled.

 

Strange thing, CubintoForRevit has a couple of ShowMessage inside of StartUp, they works correctly but also this plugin was blocked in the end. I was also been able to connect with debugger in this case.

I ended up here: RevitManagedAppStartupAgency.cs

 

info4UZZZ_0-1698652536816.png

info4UZZZ_1-1698652684385.png

 

Can you suggest a simple RevitAddin, a sample, to use for testing?

Thanks

P

0 Likes
Message 4 of 5

jeremy_tammik
Alumni
Alumni

Yes, sure. Try making a minimal skeleton add-in yourself from scratch, e.g., following the official hello world sample from the developers guide:

  

  

It makes no difference what language you use, .NET and the Revit API are language agnostic, they just care about the IL code you pass in.

  

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

info4UZZZ
Observer
Observer

Thanks, I will try during this morning

0 Likes