Skip to main content
Participant
June 23, 2010
Question

Rebuilding Plugins without restarting After Effects

  • June 23, 2010
  • 1 reply
  • 1044 views

First off I am using AE CS4 and Visual Studio 2010 Ultimate on a Vista machine. Secondly, I have been successful in rebuilding plugins without restarting after effects. A moment ago I figured out how to reliably rebuild without restarting, but I still have a problem with it.

If I used a plugin in AE and then try to rebuild it, I get:

LINK : fatal error LNK1168: cannot open C:\Program Files  (x86)\Adobe\Adobe After Effects CS4\Support Files\Plug-ins\WhizBang.aex  for writing

I assume AE is locking the file. The only way for me to unlock the file is to delete the effect and layer and then purge.

Is there a better way to address this issue? I'd really love to be able to rebuild the plugin without having to delete things.

Thanks

Message was edited by: patjdor

This topic has been closed for replies.

1 reply

Community Expert
June 24, 2010

if you're trying to build while debugging (i'm assuming that's what you're trying to do),

then you can either hit "pause" on the debugger, make the changes and hit "continue" (F5) when you're done,

or setup a break point, and once it's hit, make the changes you want in the code, and hit continue.

in both cases the plug should build without deleting the effect and purging the memory.

sometimes the effect will render the image with the old code until you force a re-render. (not always the case)