External Commands won't execute

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having a problem getting revit 2012 to execute my external command. I did the simple "My First Pluggin" tutorial, and everything worked. I then switched to VSTA and worked out all my code. I then went back to VS2010 and updated the tutorial file with my new code. Everything compiled just fine, but when i run the external command in revit nohing happens.
I went back and recreated the "My First Pluggin" tutorial from scratch, and it won't execute either. I checked everything repeatedly, but no external commands will work now.
I edited the .addin file, and confirmed that it is loading the correct dll. If i delete the dll, it throws an error on statup indicating that the .addin is pointing to the correct file.
I also found that i can delete the .dll file after revit starts, and then run the command without an error being thrown.
I'm at a complete loss as to whats going on. I don't get an error message, just no code execution. The fact that i can delete the dll after revit boots, and still don't get an error message when i run the application tells me that it's not even loading the dll.
Any help would be greatly appreciated.