I think you need to do import System.Diagnostics On Mon, Jul 20, 2009 at 11:56 AM, bstack <[email protected]> wrote:
> > I am trying to migrate the following CLR type > (System.Diagnostics.TraceSwitch) into a Binsor 2.0 config file: > > <!-- Cross cutting concern trace switch --> > <component > id="crossCuttingConcernTraceSwitch" > type="System.Diagnostics.TraceSwitch, System, Version=2.0.0.0, > Culture=neutral, PublicKeyToken=b77a5c561934e089"> > <parameters> > <displayName>"traceSwitchName"</displayName> > <description>"traceSwitchDescription"</description> > <defaultSwitchValue>"traceSwitchValue"</defaultSwitchValue> > </parameters> > </component> > > I have configured the following in windsor.boo file: > > component "crossCuttingConcernTraceSwitch", > System.Diagnostics.TraceSwitch, Version=2.0, Culture=neutral, > PublicKeyToken=b77a5c561934e089: > displayName = traceSwitchName > description = traceSwitchDescription > defaultSwitchValue = traceSwitchValue > > Getting the following error: > Could not compile configuration! windsor(33,98): BCE0005: > Boo.Lang.Compiler.CompilerError: Unknown identifier: 'neutral'. > windsor(33,122): BCE0005: Boo.Lang.Compiler.CompilerError: Unknown > identifier: 'b77a5c561934e089'. > > Anyone know what I am doing wrong? > Can Binsor 2.0 support CLR types like System.Diagnostics.TraceSwitch ? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
