<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>csd Work Item Rss Feed</title><link>http://www.codeplex.com/csd/WorkItem/List.aspx</link><description>csd Work Item Rss Description</description><item><title>Commented Issue: Allow a ConfigurationElementCollection that is required and is the defaultcollection to have an empty xml name</title><link>http://csd.codeplex.com/WorkItem/View.aspx?WorkItemId=4733</link><description>To avoid the CollectionOfB element in &amp;#60;Section&amp;#62;&amp;#60;CollectionOfA&amp;#62;&amp;#60;ConfigElementA&amp;#62;&amp;#60;&amp;#47;ConfigElementA&amp;#62;&amp;#60;ConfigElementA&amp;#62;&amp;#60;&amp;#47;ConfigElementA&amp;#62;&amp;#60;&amp;#47;CollectionOfB&amp;#62;&amp;#60;&amp;#47;Section&amp;#62; one can use the following attribute on the collection class&amp;#58; &amp;#91;ConfigurationElementCollection&amp;#40;&amp;#34;&amp;#34;, IsRequired&amp;#61;true, IsDefaultCollection&amp;#61;true&amp;#41;&amp;#93;.&lt;br /&gt;The generated xsd would also need to be modified, to reflect this difference.&lt;br /&gt;Comments: ** Comment from web user: demus ** &lt;p&gt;And that should nave been &amp;#34;To avoid the CollectionOfA element in ...&amp;#34;&lt;/p&gt;</description><author>demus</author><pubDate>Fri, 07 Aug 2009 14:32:08 GMT</pubDate><guid isPermaLink="false">Commented Issue: Allow a ConfigurationElementCollection that is required and is the defaultcollection to have an empty xml name 20090807023208P</guid></item><item><title>Created Issue: Allow a ConfigurationElementCollection that is required and is the defaultcollection to have an empty xml name</title><link>http://csd.codeplex.com/WorkItem/View.aspx?WorkItemId=4733</link><description>To avoid the CollectionOfB element in &amp;#60;Section&amp;#62;&amp;#60;CollectionOfA&amp;#62;&amp;#60;ConfigElementA&amp;#62;&amp;#60;&amp;#47;ConfigElementA&amp;#62;&amp;#60;ConfigElementA&amp;#62;&amp;#60;&amp;#47;ConfigElementA&amp;#62;&amp;#60;&amp;#47;CollectionOfB&amp;#62;&amp;#60;&amp;#47;Section&amp;#62; one can use the following attribute on the collection class&amp;#58; &amp;#91;ConfigurationElementCollection&amp;#40;&amp;#34;&amp;#34;, IsRequired&amp;#61;true, IsDefaultCollection&amp;#61;true&amp;#41;&amp;#93;.&lt;br /&gt;The generated xsd would also need to be modified, to reflect this difference.&lt;br /&gt;</description><author>demus</author><pubDate>Fri, 07 Aug 2009 14:30:32 GMT</pubDate><guid isPermaLink="false">Created Issue: Allow a ConfigurationElementCollection that is required and is the defaultcollection to have an empty xml name 20090807023032P</guid></item><item><title>Commented Issue: InvalidOperationException on save</title><link>http://csd.codeplex.com/WorkItem/View.aspx?WorkItemId=3018</link><description>Based on forum topic http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;csd&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;31555&lt;br /&gt;&lt;br /&gt;Exception is thrown when updating a configuration element &amp;#40;or argument&amp;#41; and aving it back to the configuration file.&lt;br /&gt;&lt;br /&gt;Exception stack trace &amp;#40;in Dutch&amp;#41;&amp;#58;&lt;br /&gt;------------------------------------------------------------------------------------------&lt;br /&gt;&amp;#123;System.InvalidOperationException&amp;#58; Het token StartAttribute in de status Content zou leiden tot een ongeldig XML-document.&lt;br /&gt;   bij System.Xml.XmlTextWriter.AutoComplete&amp;#40;Token token&amp;#41;&lt;br /&gt;   bij System.Xml.XmlTextWriter.WriteStartAttribute&amp;#40;String prefix, String localName, String ns&amp;#41;&lt;br /&gt;   bij System.Xml.XmlWriter.WriteAttributeString&amp;#40;String localName, String value&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElementCollection.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationSection.SerializeSection&amp;#40;ConfigurationElement parentElement, String name, ConfigurationSaveMode saveMode&amp;#41;&lt;br /&gt;   bij System.Configuration.MgmtConfigurationRecord.GetConfigDefinitionUpdates&amp;#40;Boolean requireUpdates, ConfigurationSaveMode saveMode, Boolean forceSaveAll, ConfigDefinitionUpdates&amp;#38; definitionUpdates, ArrayList&amp;#38; configSourceUpdates&amp;#41;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: tmyklebust ** &lt;p&gt;I had the same problem, and realized that I had to add the following code to the ConfigurationElementCollection classes&amp;#58;&lt;/p&gt;&lt;p&gt;        protected override string ElementName&lt;br /&gt;        &amp;#123;&lt;br /&gt;            get&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return &amp;#91;CollectionType&amp;#93;PropertyName&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;/p&gt;</description><author>tmyklebust</author><pubDate>Mon, 30 Mar 2009 09:08:41 GMT</pubDate><guid isPermaLink="false">Commented Issue: InvalidOperationException on save 20090330090841A</guid></item><item><title>Created Issue: Generated sample config file does not contain assembly name in section type attribute</title><link>http://csd.codeplex.com/WorkItem/View.aspx?WorkItemId=3907</link><description>The code generator that generates the sample config file does not generate the assembly name when building the section type&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;configSections&amp;#62;&lt;br /&gt;&amp;#9;&amp;#60;section name&amp;#61;&amp;#34;ZoneConfiguration&amp;#34; type&amp;#61;&amp;#34;ORIX.Common.Config.ZonesConfigurationSection&amp;#34;&amp;#47;&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;configSections&amp;#62;&lt;br /&gt;&lt;br /&gt;When you run the code it tries to load the section class from the default System.Configuration assembly and throws the following exception&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Configuration.ConfigurationErrorsException was unhandled&lt;br /&gt;  Message&amp;#61;&amp;#34;An error occurred creating the configuration section handler for ZoneConfiguration&amp;#58; Could not load type &amp;#39;ORIX.Common.Config.ZonesConfigurationSection&amp;#39; from assembly &amp;#39;System.Configuration, Version&amp;#61;2.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;b03f5f7f11d50a3a&amp;#39;. &amp;#40;C&amp;#58;&amp;#92;&amp;#92;Projects&amp;#92;&amp;#92;WebCrawlerII&amp;#92;&amp;#92;WebCrawlerUI&amp;#92;&amp;#92;bin&amp;#92;&amp;#92;Debug&amp;#92;&amp;#92;WebCrawlerUI.vshost.exe.config line 4&amp;#41;&amp;#34;&lt;br /&gt;  Source&amp;#61;&amp;#34;System.Configuration&amp;#34;&lt;br /&gt;  BareMessage&amp;#61;&amp;#34;An error occurred creating the configuration section handler for ZoneConfiguration&amp;#58; Could not load type &amp;#39;ORIX.Common.Config.ZonesConfigurationSection&amp;#39; from assembly &amp;#39;System.Configuration, Version&amp;#61;2.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;b03f5f7f11d50a3a&amp;#39;.&amp;#34;&lt;br /&gt;  Filename&amp;#61;&amp;#34;C&amp;#58;&amp;#92;&amp;#92;Projects&amp;#92;&amp;#92;WebCrawlerII&amp;#92;&amp;#92;WebCrawlerUI&amp;#92;&amp;#92;bin&amp;#92;&amp;#92;Debug&amp;#92;&amp;#92;WebCrawlerUI.vshost.exe.config&amp;#34;&lt;br /&gt;  Line&amp;#61;4&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord&amp;#40;String configKey, Boolean&amp;#38; isRootDeclaredHere&amp;#41;&lt;br /&gt;       at System.Configuration.BaseConfigurationRecord.GetSectionRecursive&amp;#40;String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object&amp;#38; result, Object&amp;#38; resultRuntimeObject&amp;#41;&lt;br /&gt;       at System.Configuration.BaseConfigurationRecord.GetSection&amp;#40;String configKey, Boolean getLkg, Boolean checkPermission&amp;#41;&lt;br /&gt;       at System.Configuration.BaseConfigurationRecord.GetSection&amp;#40;String configKey&amp;#41;&lt;br /&gt;       at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection&amp;#40;String sectionName&amp;#41;&lt;br /&gt;       at System.Configuration.ConfigurationManager.GetSection&amp;#40;String sectionName&amp;#41;&lt;br /&gt;       at WebCrawlerUI.MainForm..ctor&amp;#40;&amp;#41; in C&amp;#58;&amp;#92;Projects&amp;#92;WebCrawlerII&amp;#92;WebCrawlerUI&amp;#92;MainForm.cs&amp;#58;line 22&lt;br /&gt;       at WebCrawlerUI.Program.Main&amp;#40;&amp;#41; in C&amp;#58;&amp;#92;Projects&amp;#92;WebCrawlerII&amp;#92;WebCrawlerUI&amp;#92;Program.cs&amp;#58;line 17&lt;br /&gt;       at System.AppDomain._nExecuteAssembly&amp;#40;Assembly assembly, String&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;       at System.AppDomain.ExecuteAssembly&amp;#40;String assemblyFile, Evidence assemblySecurity, String&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly&amp;#40;&amp;#41;&lt;br /&gt;       at System.Threading.ThreadHelper.ThreadStart_Context&amp;#40;Object state&amp;#41;&lt;br /&gt;       at System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;       at System.Threading.ThreadHelper.ThreadStart&amp;#40;&amp;#41;&lt;br /&gt;  InnerException&amp;#58; System.TypeLoadException&lt;br /&gt;       Message&amp;#61;&amp;#34;Could not load type &amp;#39;ORIX.Common.Config.ZonesConfigurationSection&amp;#39; from assembly &amp;#39;System.Configuration, Version&amp;#61;2.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;b03f5f7f11d50a3a&amp;#39;.&amp;#34;&lt;br /&gt;       Source&amp;#61;&amp;#34;System.Configuration&amp;#34;&lt;br /&gt;       TypeName&amp;#61;&amp;#34;ORIX.Common.Config.ZonesConfigurationSection&amp;#34;&lt;br /&gt;       StackTrace&amp;#58;&lt;br /&gt;            at System.Configuration.TypeUtil.GetTypeWithReflectionPermission&amp;#40;IInternalConfigHost host, String typeString, Boolean throwOnError&amp;#41;&lt;br /&gt;            at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init&amp;#40;RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord&amp;#41;&lt;br /&gt;            at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions&amp;#40;RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord&amp;#41;&lt;br /&gt;            at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory..ctor&amp;#40;RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord&amp;#41;&lt;br /&gt;            at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory&amp;#40;FactoryRecord factoryRecord&amp;#41;&lt;br /&gt;            at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord&amp;#40;String configKey, Boolean&amp;#38; isRootDeclaredHere&amp;#41;&lt;br /&gt;       InnerException&amp;#58; &lt;br /&gt;&lt;br /&gt;Adding the assembly name &amp;#40;see below&amp;#41; corrects the problem&amp;#58;&lt;br /&gt;&lt;br /&gt;  &amp;#60;configSections&amp;#62;&lt;br /&gt;    &amp;#60;section name&amp;#61;&amp;#34;ZoneConfiguration&amp;#34; type&amp;#61;&amp;#34;ORIX.Common.Config.ZonesConfigurationSection, ORIX.Common.Config&amp;#34;&amp;#47;&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;configSections&amp;#62;&lt;br /&gt;</description><author>rschaerDFW</author><pubDate>Fri, 06 Mar 2009 19:33:39 GMT</pubDate><guid isPermaLink="false">Created Issue: Generated sample config file does not contain assembly name in section type attribute 20090306073339P</guid></item><item><title>Created Issue: Problem with DefaultValue property of ConfigurationProperty Attribute</title><link>http://csd.codeplex.com/WorkItem/View.aspx?WorkItemId=3906</link><description>The value DefaultValue property in the ConfigurationProperty attribute is no enclosed in quotes and is causing a compiler error. See the example generate code below&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#91;global&amp;#58;&amp;#58;System.Configuration.ConfigurationProperty&amp;#40;ValuePropertyName, IsRequired &amp;#61; true, IsKey &amp;#61; false, IsDefaultCollection &amp;#61; false, DefaultValue &amp;#61; default&amp;#41;&amp;#93;&lt;br /&gt;&lt;br /&gt;&amp;#34;default&amp;#34; is the text entered into the Default Value property in the designer.&lt;br /&gt;</description><author>rschaerDFW</author><pubDate>Fri, 06 Mar 2009 19:15:26 GMT</pubDate><guid isPermaLink="false">Created Issue: Problem with DefaultValue property of ConfigurationProperty Attribute 20090306071526P</guid></item><item><title>Created Issue: Unable to Remove ConfigurationElement from ConfigurationElementCollection</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3888</link><description>System&amp;#58;&lt;br /&gt;Visual Studio 2008 SP1&lt;br /&gt;.NET Framework 3.5 SP1&lt;br /&gt;&lt;br /&gt;Reproduction Steps&lt;br /&gt;1&amp;#41; Setup ConfigurationSection with ConfigurationElementCollection&lt;br /&gt;2&amp;#41; Generate Code&lt;br /&gt;3&amp;#41; Create Test Application where you create ConfigurationSection&lt;br /&gt;4&amp;#41; Add an element to the ConfigurationElementCollection&lt;br /&gt;5&amp;#41; Remove the element&lt;br /&gt;&lt;br /&gt;Expected result&amp;#58;&lt;br /&gt;The ConfigurationElementCollection is empty&lt;br /&gt;&lt;br /&gt;Result&amp;#58;&lt;br /&gt;The ConfigurationElementCollection contains the element that was added.&lt;br /&gt;&lt;br /&gt;Reason&amp;#58;&lt;br /&gt;The Remove method is wrongly generated. &lt;br /&gt;The base.BaseRemove method called by the generated Remove method takes the ConfigurationElement as argument. &lt;br /&gt;Instead it should take the Key Member of the ConfigurationElement.&lt;br /&gt;&lt;br /&gt;Solution&amp;#58;&lt;br /&gt;Find the section where the Remove method is generated in ConfigurationSectionDesignerCode.tt and change the following&lt;br /&gt;From&amp;#58; base.BaseRemove&amp;#40;&amp;#60;&amp;#35;&amp;#61; collectionElement.XmlItemName &amp;#35;&amp;#62;&amp;#41;&amp;#59;&lt;br /&gt;To&amp;#58; base.BaseRemove&amp;#40;&amp;#60;&amp;#35;&amp;#61; collectionElement.XmlItemName &amp;#35;&amp;#62;.&amp;#60;&amp;#35;&amp;#61; keyPropertyName &amp;#35;&amp;#62;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;Attached you can find the updated file&lt;br /&gt;</description><author>janvolck</author><pubDate>Thu, 26 Feb 2009 12:36:59 GMT</pubDate><guid isPermaLink="false">Created Issue: Unable to Remove ConfigurationElement from ConfigurationElementCollection 20090226123659P</guid></item><item><title>Commented Issue: Support for Converters</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3415</link><description>Allow attributes to support configuration converters.&lt;br /&gt;Comments: ** Comment from web user: quiz ** &lt;p&gt;Allow support for custom attributes at all.&lt;/p&gt;</description><author>quiz</author><pubDate>Wed, 26 Nov 2008 09:47:45 GMT</pubDate><guid isPermaLink="false">Commented Issue: Support for Converters 20081126094745A</guid></item><item><title>Created Issue: Configuration section group</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3416</link><description>Section group item in designer.&lt;br /&gt;</description><author>quiz</author><pubDate>Wed, 26 Nov 2008 06:38:28 GMT</pubDate><guid isPermaLink="false">Created Issue: Configuration section group 20081126063828A</guid></item><item><title>Created Issue: Support for Converters</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3415</link><description>Allow attributes to support configuration converters.&lt;br /&gt;</description><author>quiz</author><pubDate>Wed, 26 Nov 2008 06:23:47 GMT</pubDate><guid isPermaLink="false">Created Issue: Support for Converters 20081126062347A</guid></item><item><title>Commented Issue: InvalidOperationException on save</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3018</link><description>Based on forum topic http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;csd&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;31555&lt;br /&gt;&lt;br /&gt;Exception is thrown when updating a configuration element &amp;#40;or argument&amp;#41; and aving it back to the configuration file.&lt;br /&gt;&lt;br /&gt;Exception stack trace &amp;#40;in Dutch&amp;#41;&amp;#58;&lt;br /&gt;------------------------------------------------------------------------------------------&lt;br /&gt;&amp;#123;System.InvalidOperationException&amp;#58; Het token StartAttribute in de status Content zou leiden tot een ongeldig XML-document.&lt;br /&gt;   bij System.Xml.XmlTextWriter.AutoComplete&amp;#40;Token token&amp;#41;&lt;br /&gt;   bij System.Xml.XmlTextWriter.WriteStartAttribute&amp;#40;String prefix, String localName, String ns&amp;#41;&lt;br /&gt;   bij System.Xml.XmlWriter.WriteAttributeString&amp;#40;String localName, String value&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElementCollection.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationSection.SerializeSection&amp;#40;ConfigurationElement parentElement, String name, ConfigurationSaveMode saveMode&amp;#41;&lt;br /&gt;   bij System.Configuration.MgmtConfigurationRecord.GetConfigDefinitionUpdates&amp;#40;Boolean requireUpdates, ConfigurationSaveMode saveMode, Boolean forceSaveAll, ConfigDefinitionUpdates&amp;#38; definitionUpdates, ArrayList&amp;#38; configSourceUpdates&amp;#41;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: yanker1980 ** &lt;p&gt;my email is &lt;br /&gt;yan.amaross&amp;#64;gmail.com&lt;br /&gt;&lt;/p&gt;</description><author>yanker1980</author><pubDate>Thu, 06 Nov 2008 18:08:29 GMT</pubDate><guid isPermaLink="false">Commented Issue: InvalidOperationException on save 20081106060829P</guid></item><item><title>Commented Issue: InvalidOperationException on save</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3018</link><description>Based on forum topic http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;csd&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;31555&lt;br /&gt;&lt;br /&gt;Exception is thrown when updating a configuration element &amp;#40;or argument&amp;#41; and aving it back to the configuration file.&lt;br /&gt;&lt;br /&gt;Exception stack trace &amp;#40;in Dutch&amp;#41;&amp;#58;&lt;br /&gt;------------------------------------------------------------------------------------------&lt;br /&gt;&amp;#123;System.InvalidOperationException&amp;#58; Het token StartAttribute in de status Content zou leiden tot een ongeldig XML-document.&lt;br /&gt;   bij System.Xml.XmlTextWriter.AutoComplete&amp;#40;Token token&amp;#41;&lt;br /&gt;   bij System.Xml.XmlTextWriter.WriteStartAttribute&amp;#40;String prefix, String localName, String ns&amp;#41;&lt;br /&gt;   bij System.Xml.XmlWriter.WriteAttributeString&amp;#40;String localName, String value&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElementCollection.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationSection.SerializeSection&amp;#40;ConfigurationElement parentElement, String name, ConfigurationSaveMode saveMode&amp;#41;&lt;br /&gt;   bij System.Configuration.MgmtConfigurationRecord.GetConfigDefinitionUpdates&amp;#40;Boolean requireUpdates, ConfigurationSaveMode saveMode, Boolean forceSaveAll, ConfigDefinitionUpdates&amp;#38; definitionUpdates, ArrayList&amp;#38; configSourceUpdates&amp;#41;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: yanker1980 ** &lt;p&gt;Hello&lt;br /&gt;I treat to build an application that modified the configuration file &amp;#40;.exe.config&amp;#41; of another application.&lt;br /&gt;I&amp;#39;m using the class ConfigurationManager but when I save the changes with Configuration.Save&amp;#40;...&amp;#41; method, the result file is completely disrupted, and haven&amp;#8217;t the same structure.&lt;br /&gt;Please I&amp;#39;m really need help&amp;#33;&amp;#33;&amp;#33;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><author>yanker1980</author><pubDate>Thu, 06 Nov 2008 17:28:45 GMT</pubDate><guid isPermaLink="false">Commented Issue: InvalidOperationException on save 20081106052845P</guid></item><item><title>Commented Issue: InvalidOperationException on save</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3018</link><description>Based on forum topic http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;csd&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;31555&lt;br /&gt;&lt;br /&gt;Exception is thrown when updating a configuration element &amp;#40;or argument&amp;#41; and aving it back to the configuration file.&lt;br /&gt;&lt;br /&gt;Exception stack trace &amp;#40;in Dutch&amp;#41;&amp;#58;&lt;br /&gt;------------------------------------------------------------------------------------------&lt;br /&gt;&amp;#123;System.InvalidOperationException&amp;#58; Het token StartAttribute in de status Content zou leiden tot een ongeldig XML-document.&lt;br /&gt;   bij System.Xml.XmlTextWriter.AutoComplete&amp;#40;Token token&amp;#41;&lt;br /&gt;   bij System.Xml.XmlTextWriter.WriteStartAttribute&amp;#40;String prefix, String localName, String ns&amp;#41;&lt;br /&gt;   bij System.Xml.XmlWriter.WriteAttributeString&amp;#40;String localName, String value&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElementCollection.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationSection.SerializeSection&amp;#40;ConfigurationElement parentElement, String name, ConfigurationSaveMode saveMode&amp;#41;&lt;br /&gt;   bij System.Configuration.MgmtConfigurationRecord.GetConfigDefinitionUpdates&amp;#40;Boolean requireUpdates, ConfigurationSaveMode saveMode, Boolean forceSaveAll, ConfigDefinitionUpdates&amp;#38; definitionUpdates, ArrayList&amp;#38; configSourceUpdates&amp;#41;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: maartenba ** &lt;p&gt;Check the attached file, in Program.cs put a breakpoint near the end and check the saved configuration file which is faulty.&lt;/p&gt;</description><author>maartenba</author><pubDate>Wed, 24 Sep 2008 08:03:55 GMT</pubDate><guid isPermaLink="false">Commented Issue: InvalidOperationException on save 20080924080355A</guid></item><item><title>Commented Issue: InvalidOperationException on save</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3018</link><description>Based on forum topic http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;csd&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;31555&lt;br /&gt;&lt;br /&gt;Exception is thrown when updating a configuration element &amp;#40;or argument&amp;#41; and aving it back to the configuration file.&lt;br /&gt;&lt;br /&gt;Exception stack trace &amp;#40;in Dutch&amp;#41;&amp;#58;&lt;br /&gt;------------------------------------------------------------------------------------------&lt;br /&gt;&amp;#123;System.InvalidOperationException&amp;#58; Het token StartAttribute in de status Content zou leiden tot een ongeldig XML-document.&lt;br /&gt;   bij System.Xml.XmlTextWriter.AutoComplete&amp;#40;Token token&amp;#41;&lt;br /&gt;   bij System.Xml.XmlTextWriter.WriteStartAttribute&amp;#40;String prefix, String localName, String ns&amp;#41;&lt;br /&gt;   bij System.Xml.XmlWriter.WriteAttributeString&amp;#40;String localName, String value&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElementCollection.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationSection.SerializeSection&amp;#40;ConfigurationElement parentElement, String name, ConfigurationSaveMode saveMode&amp;#41;&lt;br /&gt;   bij System.Configuration.MgmtConfigurationRecord.GetConfigDefinitionUpdates&amp;#40;Boolean requireUpdates, ConfigurationSaveMode saveMode, Boolean forceSaveAll, ConfigDefinitionUpdates&amp;#38; definitionUpdates, ArrayList&amp;#38; configSourceUpdates&amp;#41;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: maartenba ** &lt;p&gt;Jelle, can I send you the solution via e-mail&amp;#63;&lt;/p&gt;</description><author>maartenba</author><pubDate>Wed, 24 Sep 2008 07:50:18 GMT</pubDate><guid isPermaLink="false">Commented Issue: InvalidOperationException on save 20080924075018A</guid></item><item><title>Commented Issue: InvalidOperationException on save</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3018</link><description>Based on forum topic http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;csd&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;31555&lt;br /&gt;&lt;br /&gt;Exception is thrown when updating a configuration element &amp;#40;or argument&amp;#41; and aving it back to the configuration file.&lt;br /&gt;&lt;br /&gt;Exception stack trace &amp;#40;in Dutch&amp;#41;&amp;#58;&lt;br /&gt;------------------------------------------------------------------------------------------&lt;br /&gt;&amp;#123;System.InvalidOperationException&amp;#58; Het token StartAttribute in de status Content zou leiden tot een ongeldig XML-document.&lt;br /&gt;   bij System.Xml.XmlTextWriter.AutoComplete&amp;#40;Token token&amp;#41;&lt;br /&gt;   bij System.Xml.XmlTextWriter.WriteStartAttribute&amp;#40;String prefix, String localName, String ns&amp;#41;&lt;br /&gt;   bij System.Xml.XmlWriter.WriteAttributeString&amp;#40;String localName, String value&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElementCollection.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationSection.SerializeSection&amp;#40;ConfigurationElement parentElement, String name, ConfigurationSaveMode saveMode&amp;#41;&lt;br /&gt;   bij System.Configuration.MgmtConfigurationRecord.GetConfigDefinitionUpdates&amp;#40;Boolean requireUpdates, ConfigurationSaveMode saveMode, Boolean forceSaveAll, ConfigDefinitionUpdates&amp;#38; definitionUpdates, ArrayList&amp;#38; configSourceUpdates&amp;#41;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: maartenba ** &lt;p&gt;Seems I can&amp;#39;t reproduce this in a separate solution &amp;#58;-&amp;#40;&lt;/p&gt;</description><author>maartenba</author><pubDate>Wed, 24 Sep 2008 06:34:25 GMT</pubDate><guid isPermaLink="false">Commented Issue: InvalidOperationException on save 20080924063425A</guid></item><item><title>Created Issue: InvalidOperationException on save</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3018</link><description>Based on forum topic http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;csd&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;31555&lt;br /&gt;&lt;br /&gt;Exception is thrown when updating a configuration element &amp;#40;or argument&amp;#41; and aving it back to the configuration file.&lt;br /&gt;&lt;br /&gt;Exception stack trace &amp;#40;in Dutch&amp;#41;&amp;#58;&lt;br /&gt;------------------------------------------------------------------------------------------&lt;br /&gt;&amp;#123;System.InvalidOperationException&amp;#58; Het token StartAttribute in de status Content zou leiden tot een ongeldig XML-document.&lt;br /&gt;   bij System.Xml.XmlTextWriter.AutoComplete&amp;#40;Token token&amp;#41;&lt;br /&gt;   bij System.Xml.XmlTextWriter.WriteStartAttribute&amp;#40;String prefix, String localName, String ns&amp;#41;&lt;br /&gt;   bij System.Xml.XmlWriter.WriteAttributeString&amp;#40;String localName, String value&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElementCollection.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeElement&amp;#40;XmlWriter writer, Boolean serializeCollectionKey&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationElement.SerializeToXmlElement&amp;#40;XmlWriter writer, String elementName&amp;#41;&lt;br /&gt;   bij System.Configuration.ConfigurationSection.SerializeSection&amp;#40;ConfigurationElement parentElement, String name, ConfigurationSaveMode saveMode&amp;#41;&lt;br /&gt;   bij System.Configuration.MgmtConfigurationRecord.GetConfigDefinitionUpdates&amp;#40;Boolean requireUpdates, ConfigurationSaveMode saveMode, Boolean forceSaveAll, ConfigDefinitionUpdates&amp;#38; definitionUpdates, ArrayList&amp;#38; configSourceUpdates&amp;#41;&amp;#125;&lt;br /&gt;</description><author>maartenba</author><pubDate>Wed, 24 Sep 2008 06:09:15 GMT</pubDate><guid isPermaLink="false">Created Issue: InvalidOperationException on save 20080924060915A</guid></item><item><title>Closed Issue: Resx and dbml files in solution are also transformed when saving diagram</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3005</link><description>Hi,&lt;br /&gt;&lt;br /&gt;This is a small issue that creates some confusion when working with source control.&lt;br /&gt;&lt;br /&gt;We have several projects in one solution ,3 CSD projects, a couple libraries and a web application that has a lot of resource files.&lt;br /&gt;&lt;br /&gt;When I save the diagram, I can see in the Output for Transform text templates that it is not just the current CSD project that gets transformed&amp;#59;  All three CSD projects get re-transformed.&lt;br /&gt;It seems like everything in the solution that has a &amp;#34;Custom Tool&amp;#34; specified get processed.&lt;br /&gt;&lt;br /&gt;This becomes a problem because all of the code files generated by the various custom tools get checked from source control. &lt;br /&gt;When the time comes to check in, we have a large number of files to check in that are not files that you have not consciously changed.&lt;br /&gt;&lt;br /&gt;This isn&amp;#39;t a show-stopper, but if its possible to fix it would be nice.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Comments: This is caused by Visual Studio behavior which cannot be modified, a workaround is to disable "Auto Transform Templates" on the CSD diagram.</description><author>jelled</author><pubDate>Fri, 19 Sep 2008 18:16:03 GMT</pubDate><guid isPermaLink="false">Closed Issue: Resx and dbml files in solution are also transformed when saving diagram 20080919061603P</guid></item><item><title>Commented Issue: Resx and dbml files in solution are also transformed when saving diagram</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3005</link><description>Hi,&lt;br /&gt;&lt;br /&gt;This is a small issue that creates some confusion when working with source control.&lt;br /&gt;&lt;br /&gt;We have several projects in one solution ,3 CSD projects, a couple libraries and a web application that has a lot of resource files.&lt;br /&gt;&lt;br /&gt;When I save the diagram, I can see in the Output for Transform text templates that it is not just the current CSD project that gets transformed&amp;#59;  All three CSD projects get re-transformed.&lt;br /&gt;It seems like everything in the solution that has a &amp;#34;Custom Tool&amp;#34; specified get processed.&lt;br /&gt;&lt;br /&gt;This becomes a problem because all of the code files generated by the various custom tools get checked from source control. &lt;br /&gt;When the time comes to check in, we have a large number of files to check in that are not files that you have not consciously changed.&lt;br /&gt;&lt;br /&gt;This isn&amp;#39;t a show-stopper, but if its possible to fix it would be nice.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Comments: ** Comment from web user: jelled ** &lt;p&gt;Indeed, I can imagine that having all these files checked out any time you save a diagram isn&amp;#39;t ideal. I don&amp;#39;t know of a mechanism to transform only the current text template, which is why I simply tell Visual Studio to transform them all &amp;#40;and apparently that takes others like resx and dbml files with it too&amp;#41;.&lt;/p&gt;&lt;p&gt;What you can do, however, is select the CSD designer surface itself and in the properties window change &amp;#34;Auto Transform Templates&amp;#34; to false. This will stop the automatic transformations on a save, but then you will of course need to run the custom tool manually if you make a change to a CSD file. &lt;/p&gt;</description><author>jelled</author><pubDate>Fri, 19 Sep 2008 18:14:37 GMT</pubDate><guid isPermaLink="false">Commented Issue: Resx and dbml files in solution are also transformed when saving diagram 20080919061437P</guid></item><item><title>Created Issue: Resx and dbml files in solution are also transformed when saving diagram</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=3005</link><description>Hi,&lt;br /&gt;&lt;br /&gt;This is a small issue that creates some confusion when working with source control.&lt;br /&gt;&lt;br /&gt;We have several projects in one solution ,3 CSD projects, a couple libraries and a web application that has a lot of resource files.&lt;br /&gt;&lt;br /&gt;When I save the diagram, I can see in the Output for Transform text templates that it is not just the current CSD project that gets transformed&amp;#59;  All three CSD projects get re-transformed.&lt;br /&gt;It seems like everything in the solution that has a &amp;#34;Custom Tool&amp;#34; specified get processed.&lt;br /&gt;&lt;br /&gt;This becomes a problem because all of the code files generated by the various custom tools get checked from source control. &lt;br /&gt;When the time comes to check in, we have a large number of files to check in that are not files that you have not consciously changed.&lt;br /&gt;&lt;br /&gt;This isn&amp;#39;t a show-stopper, but if its possible to fix it would be nice.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;</description><author>AndrewSeven</author><pubDate>Fri, 19 Sep 2008 15:32:49 GMT</pubDate><guid isPermaLink="false">Created Issue: Resx and dbml files in solution are also transformed when saving diagram 20080919033249P</guid></item><item><title>Closed Issue: The element cannot contain text. Content model is empty.</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=2736</link><description>The use of settings like&amp;#58;&lt;br /&gt;&amp;#60;servicedata name&amp;#61;&amp;#34;localData&amp;#34;&amp;#62;&lt;br /&gt;        &amp;#60;address&amp;#62;http&amp;#58;&amp;#47;&amp;#47;www.service.com&amp;#47;Service&amp;#47;dataService.svc&amp;#60;&amp;#47;address&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;servicedata &amp;#62;&lt;br /&gt;&lt;br /&gt;fails with Warning&amp;#58;&amp;#9;The element cannot contain text. Content model is empty.&lt;br /&gt;&lt;br /&gt;How can such setting be designed&amp;#63;&lt;br /&gt;Comments: Cannot implement in .NET</description><author>jelled</author><pubDate>Mon, 18 Aug 2008 12:59:28 GMT</pubDate><guid isPermaLink="false">Closed Issue: The element cannot contain text. Content model is empty. 20080818125928P</guid></item><item><title>Commented Issue: The element cannot contain text. Content model is empty.</title><link>http://www.codeplex.com/csd/WorkItem/View.aspx?WorkItemId=2736</link><description>The use of settings like&amp;#58;&lt;br /&gt;&amp;#60;servicedata name&amp;#61;&amp;#34;localData&amp;#34;&amp;#62;&lt;br /&gt;        &amp;#60;address&amp;#62;http&amp;#58;&amp;#47;&amp;#47;www.service.com&amp;#47;Service&amp;#47;dataService.svc&amp;#60;&amp;#47;address&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;servicedata &amp;#62;&lt;br /&gt;&lt;br /&gt;fails with Warning&amp;#58;&amp;#9;The element cannot contain text. Content model is empty.&lt;br /&gt;&lt;br /&gt;How can such setting be designed&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: jelled ** &lt;p&gt;That&amp;#39;s actually a good question, because I&amp;#39;ve never seen any configuration file that has plain text inside a configuration element. I&amp;#39;ve been looking at the .NET Configuration system but I can&amp;#39;t find a way to enable this type of configuration file, so unless you happen to know how .NET supports this I&amp;#39;m afraid I can&amp;#39;t implement this work item...&lt;/p&gt;&lt;p&gt;The workaround would of course be move the text to an attribute of the address configuration element as such&amp;#58;&lt;br /&gt;&amp;#60;address url&amp;#61;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;www.service.com&amp;#47;Service&amp;#47;dataService.svc&amp;#34; &amp;#47;&amp;#62;&lt;/p&gt;</description><author>jelled</author><pubDate>Mon, 18 Aug 2008 12:58:52 GMT</pubDate><guid isPermaLink="false">Commented Issue: The element cannot contain text. Content model is empty. 20080818125852P</guid></item></channel></rss>