I am having an application which contains a dev express grid. In my automation c# code(which is a visual studio solution with name ConsoleApp1), am using invoke remotely on this grid to perform some functions.
The problem is once i have executed the automation code(ConsoleApp1), am making some changes in my ConsoleApp1 code and am trying to run it next time. But the code is not running showing an error message, 'Unable to copy file "obj\Debug\ConsoleApp1.exe". The process cannot access the file bin\Debug\ConsoleApp1.exe because it is being used by another process'.
When i close the application being automated (i.e the application which contains dev express grid) and open it again, i can build and run the ConsoleApp1 mentioned above.
It seems that when i use invokeremotely, resources are not getting freed properly, until the application under automation is closed. Any help on this?

Regards,
Siva R S