Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Designer> .TypeImports blocks DLL
 

Pages: 1
Designer
.TypeImports blocks DLL
Page:1/1 

  Print all messages in this thread  
Poster Message
Nistech
User



Location:

Joined on:
11-Mar-2011 15:07:24
Posted:
4 posts
# Posted on: 18-Jul-2018 10:49:37.  
Hello!
I use .typeimports to import enumerations from .Net DLL's.
If LLBLGEN Pro Designer is open, I cannot build the DLL, because the designer keep it open. Is this necessary or can you change this behavior?

Best regards
Sylvio
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37377 posts
# Posted on: 18-Jul-2018 12:50:05.  
We use an assembly.loadfrom call to load the types of the assembly, which locks the dll indeed. we can't use 'for reflection only' as we have to make instances of the types at times.

We do have a workitem for creating a shadowcopy of the dll before reflection but it hasn't been implemented yet, so it's not defined when it will come. shadowcopy isn't that simple as the dll in question might reference other dlls in the same folder so we have to copy all dlls in the folder *before* the probing starts, which can be a lot. We can't use shadowcopy as implemented in the .NET CLR as that has limitations on where the dlls are located and startup time, so we have to implement it manually.


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.