- 帖子
- 569
- 积分
- 728
- 技术
- 2
- 捐助
- 0
- 注册时间
- 2022-7-10
|
36楼
发表于 2023-3-15 19:44
| 只看该作者
回复 35# Five66
会报下面的错误, 我的系统 win7 ps5.1 x64
Add-Type : 未能加载文件或程序集“new.dll”或它的某一个依赖项。找不到指定的模块。
At C:\Users\Administrator\Desktop\pinyin\test.ps1:1 char:1
+ Add-Type -LiteralPath new.dll
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( [Add-Type], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.AddTypeCommand
Unable to find type [the.api].
At C:\Users\Administrator\Desktop\pinyin\test.ps1:2 char:4
+ $a=[the.api]::new()
+ ~~~~~~~~~
+ CategoryInfo : InvalidOperation: (the.api:TypeName) [], RuntimeException
+ FullyQualifiedErrorId : TypeNotFound
You cannot call a method on a null-valued expression. |
|