SIMPLE library/reference checklist for Silverlight logging Demo?

Topics: Logging Application Block
Jul 26, 2011 at 1:36 PM
Edited Jul 27, 2011 at 1:33 AM

http://entlib.codeplex.com/releases/view/63549   downloads a solution whose 2 projects (Common.Silverlight and Logging.Silverlight) I grabbed from another download (EntLib50SLSrc/Blocks/Logging/Src/Logging) and (ditto/Common)

After building the Logging and Common above and then adding those projects to the SilverlightLogginDemo solution, I thought I would be good to go.  Here is my result.  http://tinyurl.com/44luwzo   Which documentation to use is confusing.  Which chm do I refer to? Although I appreciate that the modularity of the application blocks requires some mixing, matching, GAC'ing and borrowing dll's from here and there, it would be VERY HELPFUL to assume the point of view of a first time, entry point customer who wants an initial working sample to begin with. 

Here's my current VS solution and projects.

 

Jul 27, 2011 at 6:55 AM

Hi,

I also tried downloading the SL Logging Demo and I also got the same. Here's what I did to remove the errors:

Load the missing Common.Silverlight project and Logging.Silverlight project from EntLib50SLSrc\Blocks\Common\Src\Common.Silverlight.csproj and EntLib50SLSrc\Blocks\Logging\Src\Logging\Logging.Silverlight.csproj respectively. From the SilverlightLoggingDemo project try to add project reference to the recently added projects. Finally, if you have reference issue with Unity.Silverlight, try to re-reference it from EntLib50SLSrc\Blocks\bin\DebugSL

Let me know if this also works for you.

 

Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
Contact Us

Jul 28, 2011 at 3:34 PM
Edited Jul 28, 2011 at 5:22 PM

Thank you Noel.  I took your advice but I must be missing something with the Logging.Silverlight project. When I try to build that particular project (here's my self contained solution including the DebugSL folder), I get the 76 errors below.  What is this an indication of? I must still be missing something in my understanding of the Enterprise Libary.

 

Error 11 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\NotificationTraceListenerData.Silverlight.cs 3 45 Logging.Silverlight

Error 12 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\NetworkTraceListenerData.Silverlight.cs 3 45 Logging.Silverlight

Error 13 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\IsolatedStorageTraceListenerData.Silverlight.cs 6 45 Logging.Silverlight

Error 14 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\CategoryFilterData.Silverlight.cs 12 45 Logging.Silverlight

Error 15 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\TraceListenerReferenceData.Silverlight.cs 12 45 Logging.Silverlight

Error 16 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\TraceSourceData.Silverlight.cs 12 45 Logging.Silverlight

Error 17 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\CategoryFilterEntry.Silverlight.cs 12 45 Logging.Silverlight

Error 18 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\TraceSourceData.cs 13 45 Logging.Silverlight

Error 19 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\TextFormatterData.cs 13 45 Logging.Silverlight

Error 20 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LogEnabledFilterData.cs 13 45 Logging.Silverlight

Error 21 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LogFilterData.cs 13 45 Logging.Silverlight

Error 22 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\PriorityFilterData.cs 13 45 Logging.Silverlight

Error 23 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LogFilterData.Silverlight.cs 13 45 Logging.Silverlight

Error 24 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\FormatterData.Silverlight.cs 13 45 Logging.Silverlight

Error 25 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\FormatterData.cs 13 45 Logging.Silverlight

Error 26 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\PolicyInjection\CategoryFormatter.cs 13 45 Logging.Silverlight

Error 27 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\PolicyInjection\LogCallHandler.cs 14 45 Logging.Silverlight

Error 28 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\LogWriterStructureHolder.cs 14 45 Logging.Silverlight

Error 29 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LogFilterData.cs 14 45 Logging.Silverlight

Error 30 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\CategoryFilterData.cs 14 45 Logging.Silverlight

Error 31 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LogFilterData.Silverlight.cs 14 45 Logging.Silverlight

Error 32 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\FormatterData.Silverlight.cs 14 45 Logging.Silverlight

Error 33 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\FormatterData.cs 14 45 Logging.Silverlight

Error 34 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 15 45 Logging.Silverlight

Error 35 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LoggingSettings.cs 15 45 Logging.Silverlight

Error 36 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 16 45 Logging.Silverlight

Error 37 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LoggingSettings.cs 16 45 Logging.Silverlight

Error 38 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\TraceListenerData.Silverlight.cs 16 45 Logging.Silverlight

Error 39 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\TraceListenerData.Silverlight.cs 17 45 Logging.Silverlight

Error 40 The type or namespace name 'NamedConfigurationElement' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\CategoryFilterEntry.Silverlight.cs 19 48 Logging.Silverlight

Error 41 The type or namespace name 'NamedConfigurationElement' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\TraceListenerReferenceData.Silverlight.cs 19 55 Logging.Silverlight

Error 42 The type or namespace name 'Common' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?) C:\Configuration\LoggingSettings.cs 19 57 Logging.Silverlight

Error 43 The type or namespace name 'NamedConfigurationElement' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\FormatterData.Silverlight.cs 21 51 Logging.Silverlight

Error 44 The type or namespace name 'ConfigurationSection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 24 44 Logging.Silverlight

Error 45 The type or namespace name 'ITypeRegistrationsProvider' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 24 66 Logging.Silverlight

Error 46 The type or namespace name 'NamedConfigurationElement' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\TraceSourceData.Silverlight.cs 25 44 Logging.Silverlight

Error 47 The type or namespace name 'NamedConfigurationElement' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LogFilterData.Silverlight.cs 25 51 Logging.Silverlight

Error 48 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\PriorityFilterData.cs 28 37 Logging.Silverlight

Error 49 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LogEnabledFilterData.cs 28 37 Logging.Silverlight

Error 50 The type or namespace name 'ReplacementFormatter' could not be found (are you missing a using directive or an assembly reference?) C:\PolicyInjection\CategoryFormatter.cs 28 38 Logging.Silverlight

Error 51 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\CategoryFilterData.cs 29 37 Logging.Silverlight

Error 52 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\CategoryFilterData.Silverlight.cs 31 26 Logging.Silverlight

Error 53 The type or namespace name 'NamedConfigurationElement' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\TraceListenerData.Silverlight.cs 31 47 Logging.Silverlight

Error 54 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\TextFormatterData.cs 32 37 Logging.Silverlight

Error 55 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\TraceSourceData.cs 33 16 Logging.Silverlight

Error 56 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\FormatterData.Silverlight.cs 34 37 Logging.Silverlight

Error 57 The name 'BlockSectionNames' does not exist in the current context C:\Configuration\LoggingSettings.cs 35 43 Logging.Silverlight

Error 58 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\CategoryFilterData.Silverlight.cs 36 16 Logging.Silverlight

Error 59 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LogFilterData.Silverlight.cs 41 37 Logging.Silverlight

Error 60 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\TraceListenerData.Silverlight.cs 44 36 Logging.Silverlight

Error 61 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\TraceSourceData.Silverlight.cs 52 26 Logging.Silverlight

Error 62 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\TraceListenerData.Silverlight.cs 54 19 Logging.Silverlight

Error 63 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\IsolatedStorageTraceListenerData.Silverlight.cs 54 37 Logging.Silverlight

Error 64 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 56 26 Logging.Silverlight

Error 65 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\TraceSourceData.Silverlight.cs 57 16 Logging.Silverlight

Error 66 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 62 16 Logging.Silverlight

Error 67 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 67 26 Logging.Silverlight

Error 68 The type or namespace name 'IConfigurationSource' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.cs 72 58 Logging.Silverlight

Error 69 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 73 16 Logging.Silverlight

Error 70 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 78 26 Logging.Silverlight

Error 71 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.cs 83 28 Logging.Silverlight

Error 72 The type or namespace name 'IConfigurationSource' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.cs 83 63 Logging.Silverlight

Error 73 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 84 16 Logging.Silverlight

Error 74 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 89 26 Logging.Silverlight

Error 75 The type or namespace name 'NamedElementCollection' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 95 16 Logging.Silverlight

Error 76 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.cs 96 28 Logging.Silverlight

Error 77 The type or namespace name 'IConfigurationSource' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.cs 96 70 Logging.Silverlight

Error 78 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.cs 101 24 Logging.Silverlight

Error 79 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.cs 108 17 Logging.Silverlight

Error 80 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 131 17 Logging.Silverlight

Error 81 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 145 17 Logging.Silverlight

Error 82 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 150 24 Logging.Silverlight

Error 83 The type or namespace name 'IConfigurationSource' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 150 90 Logging.Silverlight

Error 84 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 160 24 Logging.Silverlight

Error 85 The type or namespace name 'TypeRegistration' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 171 29 Logging.Silverlight

Error 86 The type or namespace name 'IConfigurationSource' could not be found (are you missing a using directive or an assembly reference?) C:\Configuration\LoggingSettings.Silverlight.cs 171 68 Logging.Silverlight

Jul 29, 2011 at 4:10 AM

From Logging.Silverlight project try to add project reference to Common.Silverlight. Let me know if you still encountering errors.

 

Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
Contact Us