Gleed2D crashes CLR profiler?

Apr 5, 2011 at 5:11 PM

Another issue: if i launch CLR profiler for my game, it crashes during the FromFile method...
FileStream stream = File.Open(filename, FileMode.Open);
            XmlSerializer serializer = new XmlSerializer(typeof(Level));
            Level level = (Level)serializer.Deserialize(stream);
            stream.Close();
 It seems that he can't go over these lines (even if i put "return level" right above the stream.close).
 What could it be?
 I'm sure that my CLR Profiler is working (tried with other apps)...