1

Closed

Demos_GameBase's samples can't run in Silverlight

description

The error is:
 
System.Windows.Markup.XamlParseException occurred
Message=对符合指定的绑定约束的类型"Demo_MouseBasics.GameMain"调用构造函数时发生异常。 [Line: 12 Position: 35]
LineNumber=12
LinePosition=35
StackTrace:
   位于 System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   位于 SilverlightGame1.MainPage.InitializeComponent()
   位于 SilverlightGame1.MainPage..ctor()
InnerException: System.Security.SecurityException
   Message=不允许进行文件操作。拒绝访问路径""。
   StackTrace:
        位于 System.IO.FileSecurityState.EnsureState()
        位于 System.IO.Directory.InternalGetCurrentDirectory(Boolean checkHost)
        位于 System.IO.Directory.GetCurrentDirectory()
        位于 XenGameBase.GameBase..ctor()
        位于 Demo_MouseBasics.GameMain..ctor()
   InnerException:
Closed Feb 9, 2011 at 9:54 AM by robzhu
Confirmed fixed in revision 1492

comments

twohalf wrote Feb 9, 2011 at 5:20 AM

Fixed and added Demo_MouseBasics_Silverlight

twohalf wrote Feb 9, 2011 at 5:20 AM

Fixed and added Demo_MouseBasics_Silverlight

wrote Feb 9, 2011 at 9:54 AM

wrote Feb 14, 2013 at 1:50 AM

wrote May 16, 2013 at 4:46 AM