Has anyone seen this behavior before? I added some of the PI based conditional configuration to a project of mine that supports both a windows service & a console app (used during development). After I did this the console stopped working except when started under the debugger. The error is the generic "The system cannot execute the specified program."
I've narrowed it down to the point where I can say with a fairly high degree of confidence that the added PIs are the cause of this issue. Is there something I've missed somewhere about not being able to use these in an app.config file? There's nothing here: http://www.castleproject.org/container/documentation/trunk/usersguide/defines.html The structure of the config is this: App.config (environment-specific, varies) - def/undef symbols - conditional include(s) based on symbols - conditional component registration based on symbols included.file.1.config (static across all environments) - conditional component registration based on symbols An additional wrinkle is that it seems to work fine as a service as well. It appears to only fail when launched as a console (from VS or otherwise) unless launched by the debugger. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
