Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - kobold_wyx

#1
Hello!  I'm trying to check this plugin out, but I'm having troubles understanding how to get it to work on Windows 11 with .NET 4.8.1.

Apparently it's making some kind of external script call, which sounds risky, but it's obviously ok given other folks who use it - so I went and tried to solve the problem of getting it to work.

First, I was getting some kind of error related to loading the script - a CAS policy exception.  I was able to resolve this by opening up AGSEditor.exe.config and changing it to the following:

Code: ags
<?xml version="1.0" encoding="utf-8"?>
<configuration>
	<runtime><NetFx40_LegacySecurityPolicy enabled="true"/></runtime>
<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>

However, I'm still getting another error unfortunately about a security rule violation of some kind, so I figured I should probably stop here and ask what the heck is going on.

The error says:

QuoteThere was an error loading plugin 'ags.plugin.speechcenter.dll',

System.TypeLoadException: Inheritance security rules violated by type: 'AGS.Plugin.SpeechCenter.SpeechCenterPlugin',
Derived types must either match the security accessibility of the base type or be less accessible.
  at
System.Reflection.RuntimeAssembly.GetExportedTypes(...)
  at System.Reflection.RuntimeAssembly.GetExpor

OK I got too lazy to type it all up and decided to link to an image from my site:




Any ideas what's going on here?  Why's it trying to load remotely stored scripts, anyway?
SMF spam blocked by CleanTalk