And all I have done so far is spill blood, trying to add Windsor to a working DCOM service.
So I’m going to try go back to square one, get the basic examples working, and progress from there…
Update: So I was trying
Container = new WindsorContainer(new XmlInterpreter());
or
Container = new WindsorContainer(new XmlInterpreter(new ConfigResource("castle")));
but always got:
System.Configuration.ConfigurationException was unhandled
Message=”Could not find section ‘castle’ in the configuration file associated with this domain.”
Source=”Castle.Core”
BareMessage=”Could not find section ‘castle’ in the configuration file associated with this domain.”
Line=0
StackTrace:
at Castle.Core.Resource.ConfigResource..ctor(String sectionName)
at METScomms.MainProgram.Main() in C:\dev\METSsharpe\METScomms\MainProgram.cs:line 23
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
So after discovering that there is a third page to the basic intro (after page two) I now have the programmatically setup container working… At least it’s a start…