Latest version Silverlight 4 cannot init

13 views
Skip to first unread message

Andrew

unread,
Oct 28, 2010, 8:07:54 AM10/28/10
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?

piter....@gmail.com

unread,
Nov 2, 2010, 8:32:11 AM11/2/10
to SSharp
Issue should be fixed now, in the latest version

piter....@gmail.com

unread,
Oct 29, 2010, 11:41:53 AM10/29/10
to SSharp
Thanks for pointing to this, this is installation bug,
I am working to fix it

Andrew

unread,
Nov 2, 2010, 11:37:26 AM11/2/10
to SSharp
Thank you. The new version now works as expected.

A couple of notes:
- the License.txt file is empty. Under what license is S# released?
- the .CHM files will not open in Windows XP because the installation
path name (Petro Protsyk\S#\Help) contains a "#" character. It is a
bug in Windows XP's help viewer, but it makes the docs unreadable when
using the default installation.

Andrew

On Nov 2, 8:32 am, "Piter.Prot...@gmail.com" <piter.prot...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages