My template has an assembly statement refering to the RepositoryAdapter.dll and an import statement for the namespaces in it.
When i run the T4 "run custom tool" all goes well.
The problem happens when i try to build/rebuild the class project RepositoryAdapter ... i get the message below that debug\bin\RepositoryAdapter.dll is locked....
Until now i am simply closing down the solution and then reopening it. But there must be a smarter way. Any ideas?
Here's the error i get when i try to build the dll that the template used is:
Error 4 Unable to copy file "obj\Debug\Templating.RepositoryAdapter.dll" to "bin\Debug\Templating.RepositoryAdapter.dll". The process cannot access the file 'bin\Debug\Templating.RepositoryAdapter.dll' because it is being used
by another process. UI.Toolkit.Templating.RepositoryAdapter