Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

failed to generate type library for EnterpriseLibrary

$
0
0

I have a custom .NET library assembly that uses COM+ and references Microsoft.Practices.EnterpriseLibrary.Data 5.0

When I try to install it into COM+ I'm getting an error:

PS C:\windows\Microsoft.NET\Framework64\v4.0.30319> .\RegSvcs.exe "***.dll"
Microsoft (R) .NET Framework Services Installation Utility Version 4.0.30319.33440
Copyright (C) Microsoft Corporation.  All rights reserved.

Auto exporting 'Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856a
d364e35' as 'C:\Windows\assembly\GAC_MSIL\Microsoft.Practices.EnterpriseLibrary.Data\5.0.414.0__31bf3856ad364e35\Microso
ft.Practices.EnterpriseLibrary.Data.tlb'.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.DataAccessor`1, Microsoft.Practices
.EnterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not be exposed
to COM.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.CommandAccessor`1, Microsoft.Practi
ces.EnterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not be expos
ed to COM.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.IResultSetMapper`1, Microsoft.Pract
ices.EnterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not be expo
sed to COM.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.IRowMapper`1, Microsoft.Practices.E
nterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not be exposed to
 COM.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.MapBuilder`1, Microsoft.Practices.E
nterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not be exposed to
 COM.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContext`1, Microsoft.Pra
ctices.EnterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not be ex
posed to COM.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContextTest`1, Microsoft
.Practices.EnterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not b
e exposed to COM.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.IMapBuilderContextMap`2, Microsoft.
Practices.EnterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not be
 exposed to COM.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.ReflectionRowMapper`1, Microsoft.Pr
actices.EnterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not be e
xposed to COM.
Type library exporter warning processing 'Microsoft.Practices.EnterpriseLibrary.Data.SprocAccessor`1, Microsoft.Practice
s.EnterpriseLibrary.Data'. Warning: Type library exporter encountered a generic type. Generic classes may not be exposed
 to COM.

The following installation error occurred:
1: Failed to generate type library '***' for '***'.
2: Type library exporter encountered an error while processing '***'. Error: Failed to generate type library 'C:\Windows\assembly\GAC_MSIL\Microsoft.Practices.EnterpriseLibra
ry.Data\5.0.414.0__31bf3856ad364e35\Microsoft.Practices.EnterpriseLibrary.Data.tlb' for 'Microsoft.Practices.EnterpriseL
ibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

My custom library is targeting .NET 4.5.1

Running on Windows 2012 Server R2

Spend a couple of days on this, couldn't find anything useful. Please help out. Thank you.


Viewing all articles
Browse latest Browse all 8156


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>