Problem with creating Game.camera

Nov 5, 2010 at 6:49 AM

Hello, Everytime I add

<Execution:Game.Camera       

      <View:Camera Position="100,150,-100" Target="0,0,0"/>

</Execution:Game.Camera>

I get this error   " The type 'View:Camera' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. C:\Users\gamer\Documents\Visual Studio 2010\Projects\balderman2\balderman2  \MainPage.xaml 50 34 balderman2"

This is after I have added Balder and Ninject as references. Is there I am forgetting to do?

 

Thank you.


 

Coordinator
Nov 5, 2010 at 7:25 AM

Did you add the namespace for View at the top?

xmlns:View="clr-namespace:Balder.View;assembly=Balder"

Nov 5, 2010 at 7:43 AM

Thank you, that solved the problem. Now for some reason my designer is giving some error.

System.InvalidOperationException

I am able to build the solution but when I debug it, it seems to be loading but nothing happens.

 Thank you.

 

Sanje

Coordinator
Nov 5, 2010 at 7:44 AM

Designer support is not something that has been added to Balder yet. It is coming, though.