type or namespace 'Assembler' could not be found

Topics: Building and extending application blocks, Enterprise Library Core, General discussion
Aug 15, 2010 at 2:37 PM
Edited Aug 15, 2010 at 3:01 PM

Hi All,

We had developed a custom application block using the enterprise library 4.0 tools. We are trying to port that to the 5.0 world. We took the binaries of the 5.0 version and started to get the following errors:

Error 43 The type or namespace name 'Assembler' could not be found (are you missing a using directive or an assembly reference?) 

 

The range errors thrown are :

Error 13 The type or namespace name 'AssemblerBasedCustomFactory' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\SMSCProviderCustomFactory.cs 18 46 Sumeru.SMSCBlockError 14 The type or namespace name 'AssemblerBasedCustomFactory' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\MessageFormatterCustomFactory.cs 18 50 Sumeru.SMSCBlockError 2 The type or namespace name 'ConfigurationNameMapper' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\IMessageFormatter.cs 9 6 Sumeru.SMSCBlockError 6 The type or namespace name 'ConfigurationNameMapper' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\ISMSCProvider.cs 10 6 Sumeru.SMSCBlockError 1 The type or namespace name 'ConfigurationNameMapperAttribute' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\IMessageFormatter.cs 9 6 Sumeru.SMSCBlockError 5 The type or namespace name 'ConfigurationNameMapperAttribute' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\ISMSCProvider.cs 10 6 Sumeru.SMSCBlockError 20 The type or namespace name 'ConfigurationReflectionCache' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\TestSMSCProviderData.cs 53 192 Sumeru.SMSCBlockError 21 The type or namespace name 'ConfigurationReflectionCache' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\CellentSMSCProviderData.cs 54 192 Sumeru.SMSCBlockError 22 The type or namespace name 'ConfigurationReflectionCache' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\GenericSMSFormatterData.cs 54 200 Sumeru.SMSCBlockError 23 The type or namespace name 'ConfigurationReflectionCache' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\SMSCountrySMSCProviderData.cs 55 192 Sumeru.SMSCBlockError 24 The type or namespace name 'ConfigurationReflectionCache' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\TestSMSFormatterData.cs 55 200 Sumeru.SMSCBlockError 4 The type or namespace name 'CustomFactory' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\IMessageFormatter.cs 10 6 Sumeru.SMSCBlockError 12 The type or namespace name 'CustomFactory' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\ISMSCProvider.cs 11 6 Sumeru.SMSCBlockError 3 The type or namespace name 'CustomFactoryAttribute' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\IMessageFormatter.cs 10 6 Sumeru.SMSCBlockError 11 The type or namespace name 'CustomFactoryAttribute' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\ISMSCProvider.cs 11 6 Sumeru.SMSCBlockError 15 The type or namespace name 'IAssembler' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\TestSMSCProviderData.cs 43 46 Sumeru.SMSCBlockError 16 The type or namespace name 'IAssembler' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\GenericSMSFormatterData.cs 44 49 Sumeru.SMSCBlockError 17 The type or namespace name 'IAssembler' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\CellentSMSCProviderData.cs 44 49 Sumeru.SMSCBlockError 18 The type or namespace name 'IAssembler' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\TestSMSFormatterData.cs 45 48 Sumeru.SMSCBlockError 19 The type or namespace name 'IAssembler' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\SMSCountrySMSCProviderData.cs 45 52 Sumeru.SMSCBlockError 8 The type or namespace name 'IConfigurationNameMapper' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\SMSCProviderDataRetriever.cs 10 48 Sumeru.SMSCBlockError 10 The type or namespace name 'IConfigurationNameMapper' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\Configuration\MessageFormatterDataRetriever.cs 10 52 Sumeru.SMSCBlockError 7 The type or namespace name 'NameTypeFactoryBase' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\SMSCProviderInstanceFactory.cs 10 48 Sumeru.SMSCBlockError 9 The type or namespace name 'NameTypeFactoryBase' could not be found (are you missing a using directive or an assembly reference?) E:\CrossTabsOnAzure\Sumeru.SMSCBlock\Application Block\Sumeru.SMSCBlock\MessageFormatterInstanceFactory.cs 10 52 Sumeru.SMSCBlock

Can anyone guide as to what the problem might be and if it is possible at all to port a custom application block 4.0 to 5.0 version?

Thanks in advance.

Naresh

 

Aug 15, 2010 at 8:06 PM

Assemblers, custom factories, and all the object builder goop of previous versions has been removed. This did break custom application blocks. We haven't published documentation on how to write blocks in EL 5 yet; we'll be working on exercises for this in the next couple of months.

 

Dec 19, 2010 at 8:59 PM

Hi narunaram,

were you able to get a resolution to your issue? i am also facing the same problem.

Dec 20, 2010 at 1:50 AM

Are you also dealing with creating custom application block or it's just a custom provider?

 

Sarah Urmeneta
Global Technologies and Solutions
Avanade, Inc.
entlib.support@avanade.com

Dec 20, 2010 at 6:05 PM

I want to use Velocity (Windows Server AppFabric) as a Caching store and i am using this Custom provider based pattern.

Dec 21, 2010 at 3:34 AM

Hi,

I'm not faimiliar with Velocity though you may want to look into these references creating a custom providers and extending caching application block. Wherein if you may opt to create a custom backing store you will need to create a class that either implements the IBackingStore interface or inherits from the BaseBackingStore abstract class. HTH.

Gino Terrado
Global Technologies and Solutions
Avanade, Inc.
entlib.support@avanade.com

Oct 22, 2012 at 2:41 PM

Is the documentation ready? We are trying to use assemblerattribute. No luck with online documentation. Not specified in the breaking changes part also. Please help soon.

Oct 23, 2012 at 3:55 AM

I recommend starting a new thread with what you are specifically trying to do and what issues you are encountering.

--
Randy Levy
Enterprise Library support engineer
entlib.support@live.com