This application was presented by John Papa during the MIX11 Day 2 keynote to demonstrate the new features in Silverlight 5 including 3D, RelativeSource Ancestor, Data Binding Debugging, Implicit DataTemplates, & Binding in Style Setters.
I have a problem. When I compile 3D House Builder, there is an error in HouseBuilderApp class that says "System.Windows.Control.DrawEventArgs does not contain GraphicsDevice method".
Is it because of using VS 2012 instead of 2010? How can I fix it?
Thank you John for the example...
Everything works well, after updating the dlls and adding/updating the libraries referenced in the solution. I do recommend at least having Microsoft Visual Studio 2010 SP1 or later along with Windows 7 or higher. The examples does work well with Silver-light 5 [SDK] as well as XNA 4.0. I do recommend downloading Windows Mobile 7.1 SDK, as this has Silver-light 4 and XNA 4.0 along with Direct X. Everything works well including the spinning house when u tally up the construction costs. However, I do have one question regarding the left sidebar tools and options? It does not seem to be working?? I can only zoom in and out and change some colors to the element[s] themes along with layering. Any suggestions?
Meng 'Bubba' Vang
I have a problem with glitching graphics in 3D House Builder. I have upgraded my video graphics card driver to the latest version, but it didn't help. I have latest version of DirectX and Windows 7 32-bit. My laptop has Intel 945 graphics card, may it be a reason of this problem? Is this card too old and not capable to run this project?
I recently tried to run this project on another PC. This computer has Radeon HD3870 graphics card. Graphics renders properly, no glitching. But I tried to run other sample programs that uses Silverlight and XNA on my laptop, and it worked properly. I guess that House Builder uses some technology that graphics card in my laptop does not support. How can I figure out what exactly is the thing that my laptop does not support? Is it possible to modify House Builder to run properly on older hardware, like my laptop? Any clue would be appreciated.
Someone adviced me that if I want to run this project on computers with old graphics card I have to switch to CPU rendering. I tried to do so, but I don't know how. I found some tutorial on the Internet, but I couldn't use it, because Silverlight version Microsoft.Xna.Framework.Graphics.dll does not include some definitions as non-SL version of mentioned library. What can I do?
I has solve it. But when i build A3B project, the next problems appears. 'Microsoft.Xna.Framework.Graphics.IndexElementSize' does not contain a definition for 'ThirtyTwoBits'. I find definition in Assembly Microsoft.XNA.Framework.Graphics.IndexElementSize, but it doesn't support ThirtyTwoBits, it support SixteenBits. But on msdn show that assembly support ThirtyTwoBits. I don't know why. please help me! Thanks very much!
it have miss assembly reference, you should add "Microsoft.Xna.Framework, Microsoft.Xna.Framework.Graphics, Microsoft.Xna.Framework.Extensions, Microsoft.Xna.Framework.Shaders, Microsoft.Xna.Framework.Math and System.Windows.Xna
I have a problem, when I'm drawing a cube in a nesesito drawingSurface each of its segments have the characteristic of interaction with the mouse, this is pocible to do and if that is how to do it.
I am developing in silverlight libraries XNA 5 with this in Visual Studio 2010.
I would greatly appreciate a response to this issue.
Thank you very much.
Luis Espinoza Contreras
The description only shows VS2010 SP1 and Blend Preview for Silverlight 5 as requirements. The only reference to Microsoft.Xna.Framework.* that's part of the download is the Math bits. Perhaps the DirectX SDK is required as well?
3D Housebuilder Project is Run, why running without house, only other UI interface, my operation environment is Windows XP Professional and run environment VS2010 SP1 , Silverlight Developer 5 Beta, Silverlight 5 Tools,please give advice or comments,Thank you very much,John Teacher(I'm is China boy,my english name is Jun Cocoa and email :firstname.lastname@example.org or email@example.com)
I had the same problem. The problem is how the application is parsing some of the strings. You and I have different decimal separators than americans, and thus our Visual Studios doesn't interpret the code the same way. A quick way to get around this is to change your settings in the control panel to English (United States). Do that and recompile and you should be good.
Help us improve MSDN.
Visit our UserVoice Page to submit and vote on ideas!