-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with New-HTML : The file 'NUglify.resources' could not be found. #467
Comments
You need to install PSParseHTML for |
PSParseHTML is installed (see transcript) in the last version. |
What versio of net framework you have installed? To me it seems like someting didn't load. Either files are missing, or old net framework. |
PowerShellVersion : 5.1.22621.4391 As you can see, .NET framework is on the latest version. If it helps, I'll send you the full code I'm using in attachment. This is an advanced feature I built. My observations : I use the function in 2 ways: The first with in $PSDefaultParameterValues (see line 230 and following), New-HTML:Minify'= $false, and the second way 'New-HTML:Minify'= $true The problem only occurs when Minify = $true. With Minify = $true, an fatal error occured.
Hope this help |
It's a problem on PSParseHTML, for some reason it doesn't work for you. Nothing to do with PSWriteHTML. You can try reinstalling it, and listing/checking files it has. Maybe try PS 7? |
Hi Klyss,
I have a strange issue using
New-HTML
and I think I have found the cause.More info in the transcript file : transcript.txt.
I have also add PSWriteHTML and PSParseHTML version in the transcript.
As you can see, I'm using the
-Minify
parameter withNew-HTML
. and I have an error, but If i disable this parameter, my function usingNew-HTML
runs fine.Hope this help you and happy new year
Regards
The text was updated successfully, but these errors were encountered: