So the last two work days my boss and I where looking for a rather nasty little problem in our internal controls library for SL4. For some reasons Blend 4 (RC) told us on some simple properties of out controls (in global.xaml) that they didn't exist. So designing with blend didn't work anymore in all our project using our lib. This only applied to simple properties, more complex ones worked just fine. In our case this are mostly Boolean and Double propeties.
The error we get in Blend is: The member 'XXX' is not recognized or is not accessible.
We tried a lot of different things to get some more detailed information to the problem Blend has with our lib. No chance. So I started to create a new project and copy one control after the other to the new one. In the end all controls worked fine in the new project. So where was the problem you ask? Well, it turns out that we had one missing reference which doesn't raise any problem in VS or the final application. Just Blend can't find it and with that doesn't know about these basic properties.
The problem is a reference added by default if you create a new project. For some reason it was missing in ours (don't ask me why). Its the 'mscorlib.dll' located within 'Program Files\Reference Asssemblies\Microsoft\Framework\Silverlight\v4.0'. After adding that one everything was fine with Blend again. Btw. if it should be missing in your project you need to add it by editing the project file. For some reason you can't add it in VS's project properties.
Hope this saves some hours of time for somebody :)
May 12, 2010
May 10, 2010
May 9, 2010
May 7, 2010
The MMORPG Ryzom goes open source! - Ryzom
I like that, not what I would do with such a project, but still nice.
Personally I would open source the engine and tools. In my opinion Artwork should stay original to a game. Now other hobby games will start to use the good artwork and mostly make a bad impression event with it. This will only create a negative force on Ryzom. "Oh, .. this looks like that other really bad game I played once. I better try an other one .. "
May 3, 2010
This is a very nice and good looking timeline control for silverlight and WPF. Since a few days I'm a developer at the project as well. I just send my first commit to the projects SVN server. Mostly I'm gonna fix bugs so you all can use it with a little less fuss. My time is very limited so don't expect any fancy new features from me ...