Ziaw / npad

Nemerle pad. Very simple nemerle IDE for language snippets fast run.
14 stars 8 forks source link

Cannot run snippets on Windows 7 SP1 #11

Open Konard opened 10 years ago

Konard commented 10 years ago

Hello,

I`m trying to run a "Hello World" snippet, but NPad fails to load Nemerle.Macros.dll assembly.

npad

Exception occurs:

System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Users\kdiachenko\Desktop\Programs\NPad\Nemerle.Macros.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) File name: 'file:///C:\Users\kdiachenko\Desktop\Programs\NPad\Nemerle.Macros.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information. at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at Nemerle.Compiler.LibraryReferenceManager.assemblyLoadFrom(String path) at Nemerle.Compiler.LibraryReferenceManager._N_assembly_by_name_56051(_N_closure_56043 _N_LookupAssembly_cp_56050, String path) at Nemerle.Compiler.LibraryReferenceManager.LookupAssembly(String name) at Nemerle.Compiler.LibraryReferenceManager.LoadPluginsFrom(String name, String strongPart, Boolean loadMacros, Boolean loadParsers) at Nemerle.Compiler.ManagerClass.LoadNemerleMacros() at Nemerle.Compiler.ManagerClass._N__N_lambda2677726935.apply_void() at Nemerle.Compiler.ManagerClass._N_tryEx_26799(_N_closure_26783 _N_LoadExternalLibraries_cp_26798, FunctionVoid f) at Nemerle.Compiler.ManagerClass.LoadExternalLibraries() at Nemerle.Compiler.ManagerClass.Run() at NPad.ManagedCompiler.Compile(FileInfo fileName, TextWriter log) at NPad.AppRunner.CompileAndRun(FileInfo file) at NPad.MainForm.runCode()

Konard commented 10 years ago

I tried to install .NET Framework 4, but it failed with message: "Такая же или более новая версия .NET Framework 4 уже установлена на этом компьютере." (The same or newer version of .NET Framework 4 have been already installed on this computer).