I am using EnumBuilder like described in https://stackoverflow.com/a/792332/910502 to create an enum based on values of a database and like'd to use this approach on a non-developer machine - I can deploy a dummy assembly, but have no post-build events and can't trigger the console app, because the assembly is already in use by the exe referencing it and therefore the access is denied.
One approach might be to have a third app, that functions as a starter: First start the console app that creates the assembly, then start the application using it.
What is the recommended way for situations like this?