Since I've started to use EPiServer scheduled jobs, using my own code (decorated with the ScheduledPlugin attribute), I've had issues using Visual Studio file system deploy, because EPiServer now holds a lock on my .dll
The only way I've found around this so far, is to restart the site, so that the lock is released, publish (before the next scheduled task runs), and then it seems to work.
Is there an easier way, that doesn't require two restarts (my manual one, plus the one that would have happened anyway with the dll change)?
Since I've started to use EPiServer scheduled jobs, using my own code (decorated with the ScheduledPlugin attribute), I've had issues using Visual Studio file system deploy, because EPiServer now holds a lock on my .dll
The only way I've found around this so far, is to restart the site, so that the lock is released, publish (before the next scheduled task runs), and then it seems to work.
Is there an easier way, that doesn't require two restarts (my manual one, plus the one that would have happened anyway with the dll change)?