Andrew
unread,Oct 28, 2010, 8:07:54 AM10/28/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SSharp
I created a new Silverlight 4 project and added only the line:
RuntimeHost.Initialize();
to the Application_Startup method of the App object.
The result is an error:
Could not load file or assembly 'Scripting.SSharp, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=1d1c89e6576d99e6' or one of its
dependencies. The system cannot find the file specified.
The stack trace is:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName,
String codeBase, Evidence assemblySecurity, RuntimeAssembly
locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound,
Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName,
String codeBase, Evidence assemblySecurity, RuntimeAssembly
locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound,
Boolean forIntrospection, Boolean suppressSecurityChecks)
at
System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark,
Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String
assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark,
Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Scripting.SSharp.Runtime.Configuration.Reference.Load()
at Scripting.SSharp.Runtime.BaseAssemblyManager.LoadAssemblies()
at
Scripting.SSharp.Runtime.BaseAssemblyManager.Initialize(ScriptConfiguration
configuration)
at
Scripting.SSharp.Runtime.RuntimeHost.Initialize(ScriptConfiguration
configuration)
at Scripting.SSharp.Runtime.RuntimeHost.Initialize(Stream
configuration)
at Scripting.SSharp.Runtime.RuntimeHost.Initialize()
at TestApp.App.Application_Startup(Object sender, StartupEventArgs
e)
How can I make this work?