SharpDevelop Macro Editor Problem

SharpDevelop Macro Editor Problem

stever66
Advisor Advisor
466 Views
1 Reply
Message 1 of 2

SharpDevelop Macro Editor Problem

stever66
Advisor
Advisor

I'm working on a few macros.  Twice now the editor has quit using changes to my code.   I mean I'll edit the code, and rebuild it, but when I run it, it runs the old code. 

 

I can even intentionally introduce errors in the code.  For example, I can add random characters in the middle of the code, and it still gives me a sucessful build.  And it still runs code that isn't there anymore.  For example, I can change the text or title of a TaskDialog box, and it doesn't change when I run the program.

 

It does this for all the macros in an entire module.

 

I tried restarting the editor.  No help.  Restarted Revit.  Still the same.   I even rebooted my computer, only to find it was still running older code, and still wouldn't accept any edits. 


The only solution was to create a whole new module, and copy all the code to the new module.  


Now its happened twice in one day. Anyone else ever have this problem?

0 Likes
467 Views
1 Reply
Reply (1)
Message 2 of 2

stever66
Advisor
Advisor

One of the modules started working again.

 

i was testing some code that checks the current time and date.  To test the code, I would manually change the system date.  I think this may be why the macro editor quit working.

0 Likes