スクリプト:一部の.NETクラスにアクセスできない
Issue #1046
new
.NET Frameworkの機能の一部を呼び出せません。以下のようにNeeView自体のフルパスを取得しようとしても、
Cannot read property 'MainModule' of undefined
となります。
'use strict';
nv.Command.OpenConsole.Execute();
log(System.Environment.CurrentDirectory);
log(System.Environment.Is64BitOperatingSystem.toString());
log(System.Environment.Is64BitProcess.toString());
log(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName);どうやら、System.Diagnostics.Processクラスの呼び出し自体がうまく行われていないようです。
Comments (1)
-
reporter - Log in to comment
https://stackoverflow.com/questions/67747644/what-is-the-range-of-classes-included-in-allowclr