- You download CS-Script package from the site
- The installation instructions say to unzip the file where you want and then run
css_config.exe
to install the package. But if you run a later version of .NET, you'll likely see a message box that says this:
System.IO.FileLoadException: Could not load file or assembly 'file:///X:\Path\To\cs-script\csws.exe' or one of its dependencies. Operation is not supported (Exception from HRESULT: 0x80131515)
File name: 'file:///X:\Path\To\cs-script\csws.exe' --> 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, as this load may be dangerous. If this load is not intended to sandbox the assmebly please enable the loadFromRemoteResources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information at System.Reflection.RuntimeAssembly...
What's happening? And why is it calling a local file, unzipped onto a local disk, a remote file?
What can I do?