<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>comparenetobjects Discussions Rss Feed</title><link>http://comparenetobjects.codeplex.com/Thread/List.aspx</link><description>comparenetobjects Discussions Rss Description</description><item><title>New Post: Windows App Certification Kit - FAIL</title><link>http://comparenetobjects.codeplex.com/discussions/443598</link><description>&lt;div style="line-height: normal;"&gt;Trying to test my app certification, it has failed. The following error has come:&lt;br /&gt;
&lt;br /&gt;
Debug configuration&lt;br /&gt;
Error Found: The debug configuration test detected the following errors:&lt;br /&gt;
The binary KellermanSoftware.Compare-NET-Objects.dll is built in debug mode.&lt;br /&gt;
Impact if not fixed: Windows Store doesn’t allow a debug version of an app.&lt;br /&gt;
How to fix: Please make sure the app isn’t linking to any debug versions of a framework, and it is built with release configuration. If this is a managed app please make sure you have installed the correct version of .NET framework.&lt;br /&gt;
&lt;/div&gt;</description><author>uesleilima</author><pubDate>Tue, 14 May 2013 14:20:55 GMT</pubDate><guid isPermaLink="false">New Post: Windows App Certification Kit - FAIL 20130514022055P</guid></item><item><title>New Post: Culture exception when comparing objects</title><link>http://comparenetobjects.codeplex.com/discussions/437158</link><description>&lt;div style="line-height: normal;"&gt;Please download the latest version and re-send the stack trace.  The line numbers do not match.  I am not sure what is going on.&lt;br /&gt;
&lt;/div&gt;</description><author>gfinzer</author><pubDate>Fri, 03 May 2013 15:11:25 GMT</pubDate><guid isPermaLink="false">New Post: Culture exception when comparing objects 20130503031125P</guid></item><item><title>New Post: Compare returns all properties in list as different when they are not.</title><link>http://comparenetobjects.codeplex.com/discussions/436114</link><description>&lt;div style="line-height: normal;"&gt;Rex,&lt;br /&gt;
&lt;br /&gt;
By default, it should only show the first difference.  See the MaxDifferences property.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Greg&lt;br /&gt;
&lt;/div&gt;</description><author>gfinzer</author><pubDate>Fri, 03 May 2013 15:06:06 GMT</pubDate><guid isPermaLink="false">New Post: Compare returns all properties in list as different when they are not. 20130503030606P</guid></item><item><title>New Post: Dilemma over the usage of AttributesToIgnore.Add()</title><link>http://comparenetobjects.codeplex.com/discussions/352687</link><description>&lt;div style="line-height: normal;"&gt;@swainjena&lt;br /&gt;
&lt;br /&gt;
Not sure if you figured this out yet, but if you take a look at Greg's Unit Tests you can figure out how to use the attributes.  Specifically:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://comparenetobjects.codeplex.com/SourceControl/changeset/view/78543#1354801" rel="nofollow"&gt;Attribute class setup&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://comparenetobjects.codeplex.com/SourceControl/changeset/view/78543#1354798" rel="nofollow"&gt;Decoration of a Property&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://comparenetobjects.codeplex.com/SourceControl/changeset/view/78543#330231" rel="nofollow"&gt;Leveraging its usage in a comparison (IgnorePropertyAttribute method)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
@Greg&lt;br /&gt;
&lt;br /&gt;
Great code, very useful; thanks for sharing with the community.&lt;br /&gt;
&lt;br /&gt;
Joe&lt;br /&gt;
&lt;/div&gt;</description><author>JoeHax</author><pubDate>Fri, 26 Apr 2013 01:33:13 GMT</pubDate><guid isPermaLink="false">New Post: Dilemma over the usage of AttributesToIgnore.Add() 20130426013313A</guid></item><item><title>New Post: Culture exception when comparing objects</title><link>http://comparenetobjects.codeplex.com/discussions/437158</link><description>&lt;div style="line-height: normal;"&gt;Thank you.  It will be quite a while before this issue can be looked into.&lt;br /&gt;
&lt;/div&gt;</description><author>gfinzer</author><pubDate>Sat, 23 Mar 2013 01:37:09 GMT</pubDate><guid isPermaLink="false">New Post: Culture exception when comparing objects 20130323013709A</guid></item><item><title>New Post: Culture exception when comparing objects</title><link>http://comparenetobjects.codeplex.com/discussions/437158</link><description>&lt;div style="line-height: normal;"&gt;The usage is very simple, I compare 2 objects having properties representing lists of sub-objects etc using VisualStudio generated unit test project.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;CompareObjects compareObjects = new CompareObjects();
Assert.IsTrue(compareObjects.Compare(p,np));&lt;/code&gt;&lt;/pre&gt;

The error details:&lt;br /&gt;
&lt;br /&gt;
Error message:&lt;br /&gt;
&lt;br /&gt;
Test method TestProject1.ProjectTest.TestProjectPersistenceXml threw exception:  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt;  System.NotSupportedException: Culture 'fr' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Error stack trace:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;System.Globalization.CultureInfo.CheckNeutral(CultureInfo culture)
System.Globalization.CultureInfo.get_NumberFormat()
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp;amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
KellermanSoftware.CompareNetObjects.CompareObjects.PerformCompareProperties(Type t1, Object object1, Object object2, Boolean structCompare, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 1152
KellermanSoftware.CompareNetObjects.CompareObjects.CompareClass(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 966
KellermanSoftware.CompareNetObjects.CompareObjects.Compare(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 515
KellermanSoftware.CompareNetObjects.CompareObjects.PerformCompareProperties(Type t1, Object object1, Object object2, Boolean structCompare, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 1172
KellermanSoftware.CompareNetObjects.CompareObjects.CompareClass(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 966
KellermanSoftware.CompareNetObjects.CompareObjects.Compare(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 515
KellermanSoftware.CompareNetObjects.CompareObjects.PerformCompareProperties(Type t1, Object object1, Object object2, Boolean structCompare, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 1172
KellermanSoftware.CompareNetObjects.CompareObjects.CompareClass(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 966
KellermanSoftware.CompareNetObjects.CompareObjects.Compare(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 515
KellermanSoftware.CompareNetObjects.CompareObjects.PerformCompareProperties(Type t1, Object object1, Object object2, Boolean structCompare, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 1172
KellermanSoftware.CompareNetObjects.CompareObjects.CompareClass(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 966
KellermanSoftware.CompareNetObjects.CompareObjects.Compare(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 515
KellermanSoftware.CompareNetObjects.CompareObjects.PerformCompareProperties(Type t1, Object object1, Object object2, Boolean structCompare, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 1172
KellermanSoftware.CompareNetObjects.CompareObjects.CompareClass(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 966
KellermanSoftware.CompareNetObjects.CompareObjects.Compare(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 515
KellermanSoftware.CompareNetObjects.CompareObjects.PerformCompareProperties(Type t1, Object object1, Object object2, Boolean structCompare, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 1172
KellermanSoftware.CompareNetObjects.CompareObjects.CompareClass(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 966
KellermanSoftware.CompareNetObjects.CompareObjects.Compare(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 515
KellermanSoftware.CompareNetObjects.CompareObjects.CompareIList(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 1369
KellermanSoftware.CompareNetObjects.CompareObjects.Compare(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 487
KellermanSoftware.CompareNetObjects.CompareObjects.PerformCompareProperties(Type t1, Object object1, Object object2, Boolean structCompare, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 1172
KellermanSoftware.CompareNetObjects.CompareObjects.CompareClass(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 966
KellermanSoftware.CompareNetObjects.CompareObjects.Compare(Object object1, Object object2, String breadCrumb) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 515
KellermanSoftware.CompareNetObjects.CompareObjects.Compare(Object object1, Object object2) in C:\svn\Compare-NET-Objects-SourceNew\Compare-NET-Objects-CSharp\Compare-NET-Objects\CompareObjects.cs: line 373
TestProject1.ProjectTest.TestProjectPersistenceXml() in D:\ProjectPath\TestProject1\ProjectTest.cs: line 127&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>tequilacat</author><pubDate>Tue, 19 Mar 2013 11:36:32 GMT</pubDate><guid isPermaLink="false">New Post: Culture exception when comparing objects 20130319113632A</guid></item><item><title>New Post: Culture exception when comparing objects</title><link>http://comparenetobjects.codeplex.com/discussions/437158</link><description>&lt;div style="line-height: normal;"&gt;Can you send the stack trace?  What line of code is it?&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Greg&lt;br /&gt;
&lt;/div&gt;</description><author>gfinzer</author><pubDate>Tue, 19 Mar 2013 11:02:51 GMT</pubDate><guid isPermaLink="false">New Post: Culture exception when comparing objects 20130319110251A</guid></item><item><title>New Post: Culture exception when comparing objects</title><link>http://comparenetobjects.codeplex.com/discussions/437158</link><description>&lt;div style="line-height: normal;"&gt;Hi &lt;br /&gt;
&lt;br /&gt;
I try to compare the 2 objects and get the exception that &lt;strong&gt;&amp;quot;the current culture &amp;quot;fr&amp;quot; is neutral and cannot be set as thrread current&amp;quot;&lt;/strong&gt;.&lt;br /&gt;
It's thrown deep in the C# System code , called from info.GetValue(object1, null) called from CompareObjects.PerformCompareProperties&lt;br /&gt;
I tried to set specific thread cultures before test, like en-US or fr-FR, all in vain. &lt;br /&gt;
&lt;br /&gt;
Is there some specific way of test configuration to run in culture independent environment? Can it depend on kind of compared objects?&lt;br /&gt;
Or is there some generic C# knowledge I miss here like problems when adding the 3rd party tool dll's to my project, etc.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
Alex&lt;br /&gt;
&lt;/div&gt;</description><author>tequilacat</author><pubDate>Tue, 19 Mar 2013 07:08:34 GMT</pubDate><guid isPermaLink="false">New Post: Culture exception when comparing objects 20130319070834A</guid></item><item><title>New Post: Compare returns all properties in list as different when they are not.</title><link>http://comparenetobjects.codeplex.com/discussions/436114</link><description>&lt;div style="line-height: normal;"&gt;I pass two lists of objects:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;public class FieldData
{
    public Identifier FieldID { get; set; }
    public string Value { get; set; }
    public int SectionNumber { get; set; }
}
&lt;/code&gt;&lt;/pre&gt;

Each lists consist of 173 objects that are generally identical unless something on the form changed. So I change that one thing it should return only that one change, and not full list of 173, as it does now.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;var compare_objects = new CompareObjects();
compare_objects.Compare(source_object.Fields, target_object.Fields);
&lt;/code&gt;&lt;/pre&gt;

Anything I'm doing wrong? &lt;br /&gt;
&lt;/div&gt;</description><author>rexdefuror</author><pubDate>Mon, 11 Mar 2013 10:08:03 GMT</pubDate><guid isPermaLink="false">New Post: Compare returns all properties in list as different when they are not. 20130311100803A</guid></item><item><title>New Post: Not possible of reading config file</title><link>http://comparenetobjects.codeplex.com/discussions/430854</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;gfinzer,&lt;/p&gt;
&lt;p&gt;I fixed the problem by setting all the setting values to 'Application' instead of 'User'. That was 1 :-)&lt;/p&gt;
&lt;p&gt;I did other changes in SetupWithSettings (some code missing) and CompareIndexer (will not work if first list has less objects than the second list).&lt;/p&gt;
&lt;p&gt;Koen&lt;/p&gt;
&lt;/div&gt;</description><author>KoenVanHoeck</author><pubDate>Tue, 29 Jan 2013 15:47:36 GMT</pubDate><guid isPermaLink="false">New Post: Not possible of reading config file 20130129034736P</guid></item><item><title>New Post: Not possible of reading config file</title><link>http://comparenetobjects.codeplex.com/discussions/430854</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Koen,&lt;/p&gt;
&lt;p&gt;Sure, I can put that in there.&amp;nbsp; It will be several months.&amp;nbsp; I have a lot of feature requests from my paid products.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;
&lt;/div&gt;</description><author>gfinzer</author><pubDate>Mon, 28 Jan 2013 12:24:21 GMT</pubDate><guid isPermaLink="false">New Post: Not possible of reading config file 20130128122421P</guid></item><item><title>New Post: Not possible of reading config file</title><link>http://comparenetobjects.codeplex.com/discussions/430854</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;gfinzer,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That is just my whole point. I cannot use the NuGet implementation because it does not use the config file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Even with your solution (which I already did) the solution will not work because&amp;nbsp;&lt;span style="font-family:Consolas,'Courier New',Courier,monospace; font-size:1em"&gt;IsUseCustomTypeComparer&lt;/span&gt;&lt;span style="font-size:10pt"&gt;&amp;nbsp;is null.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10pt"&gt;A better solution is to always configure CompareNETObjects without configuration file, and after that, read the config file and overwrite local defaults when specified in the config file. That is how I changed the code here in
 our project. Something like this:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&lt;span style="white-space:pre"&gt;	&lt;/span&gt;private&lt;/span&gt;&amp;nbsp;&lt;span&gt;void&lt;/span&gt;&amp;nbsp;&lt;span&gt;SetupWithSettings&lt;/span&gt;()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&lt;span&gt;&lt;span style="white-space:pre"&gt;	&lt;/span&gt;    SetupWithoutReadingSettings&lt;/span&gt;();
&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;if&lt;/span&gt;&amp;nbsp;(&lt;span&gt;ConfigurationManager&lt;/span&gt;.&lt;span&gt;AppSettings&lt;/span&gt;[&lt;span&gt;&amp;quot;MaxDifferences&amp;quot;&lt;/span&gt;]&amp;nbsp;!=&amp;nbsp;&lt;span&gt;null&lt;/span&gt;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;int&lt;/span&gt;&amp;nbsp;&lt;span&gt;maxDifferences&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;if&lt;/span&gt;&amp;nbsp;(&lt;span&gt;Int32&lt;/span&gt;.&lt;span&gt;TryParse&lt;/span&gt;(&lt;span&gt;ConfigurationManager&lt;/span&gt;.&lt;span&gt;AppSettings&lt;/span&gt;[&lt;span&gt;&amp;quot;MaxDifferences&amp;quot;&lt;/span&gt;].&lt;span&gt;ToString&lt;/span&gt;(),&amp;nbsp;&lt;span&gt;out&lt;/span&gt;&amp;nbsp;&lt;span&gt;maxDifferences&lt;/span&gt;))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;MaxDifferences&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span&gt;maxDifferences&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10pt"&gt;Isn't this a better solution? In this case everyone can use the NuGet implementation with or without having a config file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Tia,&lt;/p&gt;
&lt;p&gt;Koen&lt;/p&gt;
&lt;/div&gt;</description><author>KoenVanHoeck</author><pubDate>Mon, 28 Jan 2013 07:10:09 GMT</pubDate><guid isPermaLink="false">New Post: Not possible of reading config file 20130128071009A</guid></item><item><title>New Post: Not possible of reading config file</title><link>http://comparenetobjects.codeplex.com/discussions/430854</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Koen,&lt;/p&gt;
&lt;p&gt;You can use a config file.&amp;nbsp; Simply get the source and define&lt;/p&gt;
&lt;p&gt;//#define USE_SETTINGS&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;
&lt;/div&gt;</description><author>gfinzer</author><pubDate>Sun, 27 Jan 2013 03:41:25 GMT</pubDate><guid isPermaLink="false">New Post: Not possible of reading config file 20130127034125A</guid></item><item><title>New Post: Not possible of reading config file</title><link>http://comparenetobjects.codeplex.com/discussions/430854</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When i use dotPeek to see the NuGet package provides, I see this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;public CompareObjects()&amp;nbsp; &amp;nbsp; {&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space:pre"&gt;&lt;/span&gt;this.Differences = new List&amp;lt;Difference&amp;gt;();&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space:pre"&gt;&lt;/span&gt;this.AttributesToIgnore = new List&amp;lt;Type&amp;gt;();&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space:pre"&gt;&lt;/span&gt;this.CustomComparer = (Action&amp;lt;CompareObjects, object, object, string&amp;gt;) null;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space:pre"&gt;&lt;/span&gt;&lt;strong&gt;this.SetupWithoutReadingSettings();&amp;nbsp;&lt;/strong&gt; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is is not possible to configure CompareNETObjects with a config file? I just want to adjust MaxDifferences, because 1 is to low.&lt;/p&gt;
&lt;p&gt;I want to do this once, for all CompareObjects made in my project, not in code, and I don't want to use a personal build. If there is no override of the property in the config file, the default value must be used.&lt;/p&gt;
&lt;p&gt;At the moment I have fixed it by referencing my own build of CompareNetObjects.&lt;/p&gt;
&lt;p&gt;Tia,&lt;/p&gt;
&lt;p&gt;Koen&lt;/p&gt;
&lt;/div&gt;</description><author>KoenVanHoeck</author><pubDate>Fri, 25 Jan 2013 13:47:10 GMT</pubDate><guid isPermaLink="false">New Post: Not possible of reading config file 20130125014710P</guid></item><item><title>New Post: compare datasets with many differences</title><link>http://comparenetobjects.codeplex.com/discussions/391726</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Set the MaxDifferences to a number greater than 1.&lt;/p&gt;&lt;/div&gt;</description><author>gfinzer</author><pubDate>Fri, 17 Aug 2012 00:44:17 GMT</pubDate><guid isPermaLink="false">New Post: compare datasets with many differences 20120817124417A</guid></item><item><title>New Post: compare datasets with many differences</title><link>http://comparenetobjects.codeplex.com/discussions/391726</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I need to cpmpare 2 xml's that have many differences. I am using the dll, but it shows me just the first difference. What do I need to do to be able to see all the difference?&lt;/p&gt;
&lt;p&gt;My requirement is to comapre the 2 xml's generated from the same xsd and show the differences in the format like
&lt;span style="font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color:#1f497d; font-size:11pt"&gt;Example:&amp;nbsp;ADD Address; Update DOB;&amp;nbsp;Delete Make.&amp;nbsp;&amp;nbsp; etc&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;span style="font-family:Consolas; color:#2b91af; font-size:x-small"&gt;
&lt;p&gt;&lt;span style="font-family:Consolas; color:#2b91af; font-size:x-small"&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas; color:#2b91af; font-size:x-small"&gt;StringReader stream = null;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlTextReader reader = null;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringReader stream1 = null;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlTextReader reader1 = null;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String xml = &amp;quot;C:\\Basic\\SP\\Trial1.xml&amp;quot;;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String xml1 = &amp;quot;C:\\Basic\\SP\\Trial2.xml&amp;quot;;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String docTXT = File.ReadAllText(xml);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String docTXT1 = File.ReadAllText(xml1);
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // serialise to object&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlSerializer serializer = new XmlSerializer(typeof(fullRecordDetails));&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stream = new StringReader(docTXT); // read xml data&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader = new XmlTextReader(stream);&amp;nbsp; // create reader&lt;font face="Consolas" size="2" color="#2b91af"&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stream1 = new StringReader(docTXT1); // read xml data&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader1 = new XmlTextReader(stream1);&amp;nbsp; // create reader&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // covert reader to object&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fullRecordDetails detail1 = (fullRecordDetails)serializer.Deserialize(reader);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fullRecordDetails detail2 = (fullRecordDetails)serializer.Deserialize(reader1);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string differenceString=null;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompareObjects compareObjects = new CompareObjects();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!compareObjects.Compare(detail1, detail2))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; differenceString = compareObjects.DifferencesString;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div id="_mcePaste" style="width:1px; height:1px; overflow:hidden; top:0px; left:-10000px"&gt;
&amp;#65279;&lt;/div&gt;
&lt;/div&gt;</description><author>RachanaDikshit</author><pubDate>Wed, 15 Aug 2012 16:41:11 GMT</pubDate><guid isPermaLink="false">New Post: compare datasets with many differences 20120815044111P</guid></item><item><title>New Post: Comparison of interfaces</title><link>http://comparenetobjects.codeplex.com/discussions/379337</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Got it to work. Thanks for a neat&amp;nbsp;piece&amp;nbsp;of code&lt;/p&gt;
&lt;p&gt;/Kristian&lt;/p&gt;&lt;/div&gt;</description><author>k_m_schneider</author><pubDate>Fri, 20 Jul 2012 18:45:47 GMT</pubDate><guid isPermaLink="false">New Post: Comparison of interfaces 20120720064547P</guid></item><item><title>New Post: Comparison of interfaces</title><link>http://comparenetobjects.codeplex.com/discussions/379337</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Kristian,&lt;/p&gt;
&lt;p&gt;I have created a help file for you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;http://comparenetobjects.codeplex.com/downloads/get/461740&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;&lt;/div&gt;</description><author>gfinzer</author><pubDate>Fri, 20 Jul 2012 18:43:41 GMT</pubDate><guid isPermaLink="false">New Post: Comparison of interfaces 20120720064341P</guid></item><item><title>New Post: Comparison of interfaces</title><link>http://comparenetobjects.codeplex.com/discussions/379337</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Kristian,&lt;/p&gt;
&lt;p&gt;I will try and come up with more formal documentation in the future.&amp;nbsp; Good luck with your project.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;&lt;/div&gt;</description><author>gfinzer</author><pubDate>Fri, 20 Jul 2012 18:22:48 GMT</pubDate><guid isPermaLink="false">New Post: Comparison of interfaces 20120720062248P</guid></item><item><title>New Post: Comparison of interfaces</title><link>http://comparenetobjects.codeplex.com/discussions/379337</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Ah! stupid me. I'll RTFM next time.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Kristian&lt;/p&gt;&lt;/div&gt;</description><author>k_m_schneider</author><pubDate>Fri, 20 Jul 2012 14:18:24 GMT</pubDate><guid isPermaLink="false">New Post: Comparison of interfaces 20120720021824P</guid></item></channel></rss>