AddinManager2011 C# code debugging process: need help

AddinManager2011 C# code debugging process: need help

Anonymous
Not applicable
449 Views
0 Replies
Message 1 of 1

AddinManager2011 C# code debugging process: need help

Anonymous
Not applicable

I am having problem with having to close and re-open Revit each time I make changes to my C# code. Addin Manager 2011 ought to take care of this but it seems not to consider some hidden folders such as 'C:\\Users\\AppData\\Local\\Temp\\RevitAddins'

I discovered that when running my program that publishes RDL report, the previous run output folder/ Dll file in this directory keeps interfering with the output folder/Dlls created by successive runs to generate an error of " LoadNeither"  (see error message below). This directory gets cleaned-up only when Revit is closed and opened again, so the program runs well only on the first trial as long as Revit remains open.

 

Please could any one help?

 

Error Message:

{"[A]Rdl.Report cannot be cast to [B]Rdl.Report. Type A originates from 'AnalyticalSupportData_Info, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'LoadNeither' at location 'C:\\Users\\AppData\\Local\\Temp\\RevitAddins\\AnalyticalSupportData_Info-Executing-20111118_161853_3973\\AnalyticalSupportData_Info.dll'. Type B originates from 'AnalyticalSupportData_Info, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'LoadNeither' at location 'C:\\Users\\AppData\\Local\\Temp\\RevitAddins\\AnalyticalSupportData_Info-Executing-20111118_155929_9739\\AnalyticalSupportData_Info.dll'."}

 

0 Likes
450 Views
0 Replies
Replies (0)