<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>karvonite Forum Rss Feed</title><link>http://code.msdn.microsoft.com/karvonite/Thread/List.aspx</link><description>karvonite Forum Rss Description</description><item><title>NEW POST: failing to load - beginners question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2596</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt;XNA 3.1 is not yet supported. This might be the problem as the XNA version of Karvonite is compiled againste XNA 3.0.&lt;br /&gt; &lt;br /&gt;Regards&lt;br /&gt;
&lt;/div&gt;</description><author>DiegoHernanCanepa</author><pubDate>Mon, 23 Nov 2009 19:03:19 GMT</pubDate><guid isPermaLink="false">NEW POST: failing to load - beginners question 20091123P</guid></item><item><title>NEW POST: failing to load - beginners question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2596</link><description>&lt;div class="wikidoc"&gt;
Hey,&lt;br /&gt;I just found out it was working fine when i didnt add any objects to the ObjectSpace.&lt;br /&gt;I am using XNA 3.1 for Windows.&lt;br /&gt;This is the complete exception (the inner exception: The ObjectSpace is closed.):&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;System.Reflection.TargetInvocationException wurde nicht behandelt.&lt;br /&gt;  Message=&amp;quot;Ein Aufrufziel hat einen Ausnahmefehler verursacht.&amp;quot;&lt;br /&gt;  Source=&amp;quot;mscorlib&amp;quot;&lt;br /&gt;  StackTrace:&lt;br /&gt;       bei System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct&amp;amp; signature, IntPtr declaringType)&lt;br /&gt;       bei System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)&lt;br /&gt;       bei System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br /&gt;       bei System.Reflection.ConstructorInfo.Invoke(Object[] parameters)&lt;br /&gt;       bei MP.Karvonite.PersistenceBoundaries.PersistentClass.CreateInstance()&lt;br /&gt;       bei MP.Karvonite.ObjectSlot.EnsureInstance()&lt;br /&gt;       bei MP.Karvonite.ObjectSlotProcessor.LoadObjectSlots(Action`1 onProgress)&lt;br /&gt;       bei MP.Karvonite.ObjectSlotProcessor.Open(Action`1 onProgress, String fileName, Boolean objectTrackingEnabled)&lt;br /&gt;       bei MP.Karvonite.ObjectSpace.Open(Action`1 onProgress)&lt;br /&gt;       bei MP.Karvonite.ObjectSpace.Open()&lt;br /&gt;       bei JumpnRun.Game.Open() in C:\Dokumente und Einstellungen\phil\Eigene Dateien\Visual Studio 2008\Projects\JumpnRun\JumpnRun\Game1.cs:Zeile 303.&lt;br /&gt;       bei JumpnRun.Game.Update(GameTime gameTime) in C:\Dokumente und Einstellungen\phil\Eigene Dateien\Visual Studio 2008\Projects\JumpnRun\JumpnRun\Game1.cs:Zeile 249.&lt;br /&gt;       bei Microsoft.Xna.Framework.Game.Tick()&lt;br /&gt;       bei Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)&lt;br /&gt;       bei Microsoft.Xna.Framework.GameHost.OnIdle()&lt;br /&gt;       bei Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)&lt;br /&gt;       bei System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)&lt;br /&gt;       bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)&lt;br /&gt;       bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)&lt;br /&gt;       bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)&lt;br /&gt;       bei System.Windows.Forms.Application.Run(Form mainForm)&lt;br /&gt;       bei Microsoft.Xna.Framework.WindowsGameHost.Run()&lt;br /&gt;       bei Microsoft.Xna.Framework.Game.Run()&lt;br /&gt;       bei JumpnRun.Program.Main(String[] args) in C:\Dokumente und Einstellungen\phil\Eigene Dateien\Visual Studio 2008\Projects\JumpnRun\JumpnRun\Program.cs:Zeile 14.&lt;br /&gt;  InnerException: System.InvalidOperationException&lt;br /&gt;       Message=&amp;quot;The ObjectSpace is closed.&amp;quot;&lt;br /&gt;       Source=&amp;quot;Karvonite&amp;quot;&lt;br /&gt;       StackTrace:&lt;br /&gt;            bei MP.Karvonite.ObjectSpace.CheckOpen()&lt;br /&gt;            bei MP.Karvonite.ObjectSpace.Add(Object item)&lt;br /&gt;            bei JumpnRun.Objects.GameObject..ctor() in C:\Dokumente und Einstellungen\phil\Eigene Dateien\Visual Studio 2008\Projects\JumpnRun\JumpnRun\Objects\GameObject.cs:Zeile 69.&lt;br /&gt;       InnerException: &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;(It's german ;))&lt;br /&gt; &lt;br /&gt;If you say now it's not something completly obvious I'll send you my project.&lt;br /&gt; &lt;br /&gt;By the way, you're providing some &lt;b&gt;very&lt;/b&gt; good support here!&lt;br /&gt;
&lt;/div&gt;</description><author>mrPhil</author><pubDate>Mon, 23 Nov 2009 17:43:28 GMT</pubDate><guid isPermaLink="false">NEW POST: failing to load - beginners question 20091123P</guid></item><item><title>NEW POST: failing to load - beginners question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2596</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt;Could you send a sample so we have something to test the exception?&lt;br /&gt;A Karvonite 4.0 beta will be available soon. Are you using XNA for Windows? or the Xbox?&lt;br /&gt; &lt;br /&gt;Regards&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>DiegoHernanCanepa</author><pubDate>Mon, 23 Nov 2009 14:32:24 GMT</pubDate><guid isPermaLink="false">NEW POST: failing to load - beginners question 20091123P</guid></item><item><title>NEW POST: failing to load - beginners question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2596</link><description>&lt;div class="wikidoc"&gt;
Oh, tested it, but obviously it doesn't make any difference... still the same error.&lt;br /&gt;Could this maybe be due to some incompabilties, or maybe due to a flawy Persistence Model?&lt;br /&gt;The object space saving seems to be working, the file is there and it's filled with data.&lt;br /&gt;I don't know where to start searching since the exception is a very low level one...&lt;br /&gt;
&lt;/div&gt;</description><author>mrPhil</author><pubDate>Mon, 23 Nov 2009 09:48:05 GMT</pubDate><guid isPermaLink="false">NEW POST: failing to load - beginners question 20091123A</guid></item><item><title>NEW POST: failing to load - beginners question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2596</link><description>&lt;div class="wikidoc"&gt;
I think you are using &amp;quot;/&amp;quot; instead of &amp;quot;\&amp;quot;.&lt;br /&gt; &lt;br /&gt;Regards&lt;br /&gt;
&lt;/div&gt;</description><author>DiegoHernanCanepa</author><pubDate>Sun, 22 Nov 2009 16:59:21 GMT</pubDate><guid isPermaLink="false">NEW POST: failing to load - beginners question 20091122P</guid></item><item><title>NEW POST: failing to load - beginners question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2596</link><description>&lt;div class="wikidoc"&gt;
Hello there.&lt;br /&gt;I recently downloaded Karvonite and tried to implement it in my little XNA game project.&lt;br /&gt;I created a Persistence Model and set up the ObjectSpace object, I think it's working (At least I don't get any errors...).&lt;br /&gt;But when trying to load an libary, I get this exception message: Exception has been thrown by the target of an invocation.&lt;br /&gt; &lt;br /&gt;Here's what I've got:&lt;br /&gt; &lt;br /&gt;creating the ObjectSpace&lt;br /&gt; &lt;br /&gt;            objectSpace = new ObjectSpace(modelSource, &amp;quot;Content/ObjectModel&amp;quot;);&lt;br /&gt;            objectSpace.CreateObjectLibrary(ExistingFileAction.Overwrite);&lt;br /&gt;            objectSpace.Open();&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;I got some GameObject objects which are to be serialized&lt;br /&gt;In their constructor:&lt;br /&gt; &lt;br /&gt;            objectSpace.Add(this);&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Now these are the save and load methods&lt;br /&gt; &lt;br /&gt;        public void Open()&lt;br /&gt;        {&lt;br /&gt;            objectSpace.Close();&lt;br /&gt;            objectSpace = new ObjectSpace(modelSource, &amp;quot;Content/ObjectModel&amp;quot;);&lt;br /&gt;            objectSpace.Open();//Exception has been thrown by the target of an invocation.&lt;br /&gt;        }&lt;br /&gt; &lt;br /&gt;        public void Save()&lt;br /&gt;        {&lt;br /&gt;            objectSpace.Save();&lt;br /&gt;        }&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Is there anything wrong you see? Should I provide additional information?&lt;br /&gt; &lt;br /&gt;Thanks in forward and thanks for this nice product =)&lt;br /&gt;
&lt;/div&gt;</description><author>mrPhil</author><pubDate>Sat, 21 Nov 2009 22:48:39 GMT</pubDate><guid isPermaLink="false">NEW POST: failing to load - beginners question 20091121P</guid></item><item><title>NEW POST: New Persistence Model Editor Features</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2526</link><description>&lt;div class="wikidoc"&gt;
We've a new Persistence Model Editor in the oven (former Persistence Model Designer). The new version will be released as part of the December 2009 release. A beta version just for testing and feedback purposes might be released soon.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Here is a list of the new features:&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;New UI experience. We've a new look and feel: simpler and more intuitive.  Less is more.&lt;/li&gt;&lt;li&gt;Improved Undo/Redo system.&lt;/li&gt;&lt;li&gt;Quickly find model elements using the new search box.&lt;/li&gt;&lt;li&gt;The new Add Types and Members functionality lets you add element faster. No more right clicks, no more Batch Add.&lt;/li&gt;&lt;li&gt;Errors can be easily visualized in the tree view. An automatic error list shows or hide as model changes.&lt;/li&gt;&lt;li&gt;Multiplatform support. Now you can choose several platforms (Windows, .NET CF and Xbox360) and maintain just one model file.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>DiegoHernanCanepa</author><pubDate>Mon, 09 Nov 2009 17:53:59 GMT</pubDate><guid isPermaLink="false">NEW POST: New Persistence Model Editor Features 20091109P</guid></item><item><title>NEW POST: Xbox 360 karvonite problem</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2131</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt;This is something we are willing to resolve but it is not easy. Anyway, we'll found a solution ;-)&lt;br /&gt;
&lt;/div&gt;</description><author>DiegoHernanCanepa</author><pubDate>Tue, 27 Oct 2009 19:51:42 GMT</pubDate><guid isPermaLink="false">NEW POST: Xbox 360 karvonite problem 20091027P</guid></item><item><title>NEW POST: Xbox 360 karvonite problem</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2131</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt;I just ran into the same problem.&lt;br /&gt;Is there an easier workaround than creating a new model yet ?&lt;br /&gt; &lt;br /&gt;Except for this issue karvonite has been a dream to use,&lt;br /&gt;Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>Reyn</author><pubDate>Tue, 27 Oct 2009 10:40:21 GMT</pubDate><guid isPermaLink="false">NEW POST: Xbox 360 karvonite problem 20091027A</guid></item><item><title>NEW POST: serialization issue</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2381</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt;Workaround, try this:&lt;br /&gt; &lt;br /&gt;private Dictionary&amp;lt;int, string&amp;gt; testDict = new Dictionary&amp;lt;int, string&amp;gt;();&lt;br /&gt; &lt;br /&gt;public Dictionary&amp;lt;int, string&amp;gt; TestDict&lt;br /&gt;{&lt;br /&gt;    get { return testDict; }&lt;br /&gt;    set { testDict = value; }&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>DiegoHernanCanepa</author><pubDate>Fri, 23 Oct 2009 03:19:35 GMT</pubDate><guid isPermaLink="false">NEW POST: serialization issue 20091023A</guid></item><item><title>NEW POST: serialization issue</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2381</link><description>&lt;div class="wikidoc"&gt;
Any news on that update?  I do not see a new build on the downloads tab.&lt;br /&gt;
&lt;/div&gt;</description><author>jdsmith2816</author><pubDate>Thu, 22 Oct 2009 22:15:28 GMT</pubDate><guid isPermaLink="false">NEW POST: serialization issue 20091022P</guid></item><item><title>NEW POST: serialization issue</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2381</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt;This is a known bug. A new release will be available this week.&lt;br /&gt; &lt;br /&gt;Regards&lt;br /&gt;
&lt;/div&gt;</description><author>DiegoHernanCanepa</author><pubDate>Tue, 13 Oct 2009 14:27:00 GMT</pubDate><guid isPermaLink="false">NEW POST: serialization issue 20091013P</guid></item><item><title>NEW POST: serialization issue</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2381</link><description>&lt;div class="wikidoc"&gt;
Does anybody have any ideas?  It's been a couple days now and I'm kind of stuck. :)&lt;br /&gt;
&lt;/div&gt;</description><author>jdsmith2816</author><pubDate>Sat, 10 Oct 2009 12:54:47 GMT</pubDate><guid isPermaLink="false">NEW POST: serialization issue 20091010P</guid></item><item><title>NEW POST: serialization issue</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2381</link><description>&lt;div class="wikidoc"&gt;
I set up a very simple test case this morning that does not work either.. In the example code below I simply left the deserializatin commented.. ran the code to create and add the testClass.. commented out that code the uncommented the deserialization.. and inside of the returned testClass the testDict was null.&lt;br /&gt; &lt;br /&gt;  public class TestClass&lt;br /&gt;  {&lt;br /&gt;    public TestClass()&lt;br /&gt;    {&lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;    public Dictionary&amp;lt;int, string&amp;gt; TestDict { get; set; }&lt;br /&gt;  }&lt;br /&gt;          &lt;br /&gt;          if (!File.Exists(@&amp;quot;d:\test.dat&amp;quot;)) {&lt;br /&gt;            _os.CreateObjectLibrary(ExistingFileAction.DoNotOverwrite);&lt;br /&gt;          }&lt;br /&gt; &lt;br /&gt;          _os.Open();&lt;br /&gt; &lt;br /&gt;          /*&lt;br /&gt;          var testClass = new TestClass();&lt;br /&gt;          testClass.TestDict = new Dictionary&amp;lt;int, string&amp;gt;();&lt;br /&gt;          testClass.TestDict&lt;a href="http://code.msdn.microsoft.com/karvonite/Wiki/View.aspx?title=0"&gt;0&lt;/a&gt; = &amp;quot;omg&amp;quot;;&lt;br /&gt;          _os.Add(testClass);&lt;br /&gt;          _os.SaveAndClose();&lt;br /&gt;         */&lt;br /&gt; &lt;br /&gt;          var testClass = _os.OfType&amp;lt;TestClass&amp;gt;().First();&lt;br /&gt;
&lt;/div&gt;</description><author>jdsmith2816</author><pubDate>Fri, 09 Oct 2009 15:53:01 GMT</pubDate><guid isPermaLink="false">NEW POST: serialization issue 20091009P</guid></item><item><title>NEW POST: serialization issue</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2381</link><description>&lt;div class="wikidoc"&gt;
I switched over to a standard Dictionary and I'm still showing the _tiles dictionary as null upon deserialization.  I did confirm that, at the time of calling _os.Add(level); and _os.Save(); that the _tiles dictionary most definately as populated.&lt;br /&gt;
&lt;/div&gt;</description><author>jdsmith2816</author><pubDate>Fri, 09 Oct 2009 07:27:36 GMT</pubDate><guid isPermaLink="false">NEW POST: serialization issue 20091009A</guid></item><item><title>NEW POST: serialization issue</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2381</link><description>&lt;div class="wikidoc"&gt;
Greetings again!&lt;br /&gt; &lt;br /&gt;I'm trying to serialize my level structure.  Currently my Level class contains a private SerializableDictionary&amp;lt;int, LevelSquare&amp;gt; _tiles; this is failing to serialize/deserialize.&lt;br /&gt; &lt;br /&gt;SerializableDictionary is simply a dictionary that implements IXmlSerializable which allows the standard serialization/deserialization functions in .Net to work on it.  &lt;br /&gt; &lt;br /&gt;LevelSquare is a very simple class containing two shorts, one string, and one bool.&lt;br /&gt; &lt;br /&gt;Upon de-serialization the _tiles member of my Level class is coming back with a null exception when I inspect it after breaking directly following the load process.  What am I doing wrong?  &lt;br /&gt; &lt;br /&gt;Now that I'm using Karvonite I guess it no longer needs to be a SerializableDictionary so I'll try switching that back to a standard Dictionary but I don't think that's the problem?&lt;br /&gt;
&lt;/div&gt;</description><author>jdsmith2816</author><pubDate>Fri, 09 Oct 2009 07:19:21 GMT</pubDate><guid isPermaLink="false">NEW POST: serialization issue 20091009A</guid></item><item><title>NEW POST: usage question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2374</link><description>&lt;div class="wikidoc"&gt;
Multidimensional arrays are not supported. All supported types are explained in the Karvonite Overview documentation document.&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>DiegoHernanCanepa</author><pubDate>Thu, 08 Oct 2009 17:35:26 GMT</pubDate><guid isPermaLink="false">NEW POST: usage question 20091008P</guid></item><item><title>NEW POST: usage question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2374</link><description>&lt;div class="wikidoc"&gt;
Are multidimensional arrays such as &lt;a href="http://code.msdn.microsoft.com/karvonite/Wiki/View.aspx?title=%2c%2c"&gt;,,&lt;/a&gt; serializable with your product or does it have the same limitations on serialization as the standard xml serializers?&lt;br /&gt;
&lt;/div&gt;</description><author>jdsmith2816</author><pubDate>Thu, 08 Oct 2009 03:36:21 GMT</pubDate><guid isPermaLink="false">NEW POST: usage question 20091008A</guid></item><item><title>NEW POST: usage question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2374</link><description>&lt;div class="wikidoc"&gt;
Keep all your objects in just one file and saves in separate files.&lt;br /&gt;
&lt;/div&gt;</description><author>DiegoHernanCanepa</author><pubDate>Thu, 08 Oct 2009 03:23:10 GMT</pubDate><guid isPermaLink="false">NEW POST: usage question 20091008A</guid></item><item><title>NEW POST: usage question</title><link>http://code.msdn.microsoft.com/karvonite/Thread/View.aspx?ThreadId=2374</link><description>&lt;div class="wikidoc"&gt;
What sort of info? I've never looked at this before today so I'm a bit short on experience here. :)&lt;br /&gt;
&lt;/div&gt;</description><author>jdsmith2816</author><pubDate>Thu, 08 Oct 2009 03:18:34 GMT</pubDate><guid isPermaLink="false">NEW POST: usage question 20091008A</guid></item></channel></rss>