Enhanced unit tests for code generators to compile the generated code, l...

...oad, instantiate, execute, and re-generate from compiled result.

Fixed a few issues discovered while running the enhanced tests.
First look for an assembly location, then fallback to the LibraryManager compilation export. It will always have a location in the .csproj files.