jjzjj

ITidyDocumentEvents

全部标签

.net - 如何在 PowerShell 中使用 HTML Tidy .NET DLL 包装器?

我正在尝试使用HTMLTidy.NETwrapper在PowerShell2.0中。这是一个使用C#的工作示例(包装器分发中包含TestIt.cs):usingTidy;Documenttdoc=newDocument();我在PowerShell中这样做:[Reflection.Assembly]::LoadFile("C:\Users\e-t172\Desktop\Tidy.NET\Tidy.dll")New-ObjectTidy.Document我收到以下错误:New-Object:Constructornotfound.Cannotfindanappropriateconstr