i am trying to configure windsor with ar in app.config file within a windows forms project. but ar always gives me some exception like unknown node, initialization exception etc. i have added app.config file and could you please say what s my fault...
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Castle.ActiveRecord.Framework.Config.XmlConfigurationSource Source
= new
Castle.ActiveRecord.Framework.Config.XmlConfigurationSource("App.config");
Castle.ActiveRecord.ActiveRecordStarter.Initialize(
typeof(Model.Files).Assembly,Source);
Castle.ActiveRecord.ActiveRecordStarter.CreateSchema();
Application.Run(new Form1());
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
App.config
Description: Binary data
