typeimport from .Net Core assembly not working

Posts   
 
    
lmcen
User
Posts: 6
Joined: 25-Nov-2020
# Posted on: 14-Jun-2021 17:50:41   

I define the following in .typeimports file:

<typeImports> <typeImport typeName="MyEnum" assemblyFile="MyAssembly.dll"/> </typeImports>

If I build "MyAssembly.dll" on .net framework 4.x, the LLBLGen Pro Designer works fine. But if I build it with .net core (3.x /5.0), the designer seems not able to recognize it. Does the .typeimports support .net core assembly? I'm using LLBLGen Pro v582. Thanks,

cenlm
Walaa avatar
Walaa
Support Team
Posts: 14982
Joined: 21-Aug-2005
# Posted on: 15-Jun-2021 02:36:39   

The Designer is built on .NET full, so it can only load .NET full assemblies, not the .NET Core ones.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39747
Joined: 17-Aug-2003
# Posted on: 15-Jun-2021 09:59:07   

.netstandard 2.0 also works, as long as you have .net 4.8 installed as the designer then runs on .net 4.8 which supports netstandard2.0

Frans Bouma | Lead developer LLBLGen Pro
lmcen
User
Posts: 6
Joined: 25-Nov-2020
# Posted on: 15-Jun-2021 20:16:51   

Thanks for the clarification.

cenlm