Skip to content
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

HealthCheckTookKit - Package 'DocX' does not exist error on Windows 10 #3

Open
bnguyen71 opened this issue May 14, 2022 · 5 comments
Open

Comments

@bnguyen71
Copy link

Keep getting the Package 'DocX" error when tried to run the GeneratedReport.ps1.

I tried to follow the direction from https://www.nuget.org/packages/DocX without any result.

Can you please point me to the right direction?

Thank you,

@dotraphael
Copy link
Owner

Try using -skipdependencies when installing the package.

so use: Install-Package DocX -skipdependencies

it may be required to do the same with the https://www.nuget.org/packages/Microsoft.IO.RecyclableMemoryStream/

hope it helps

@bnguyen71
Copy link
Author

bnguyen71 commented May 16, 2022 via email

@dotraphael
Copy link
Owner

can you send the error messages please.

@cmillar67
Copy link

cmillar67 commented Jun 23, 2022

To install the DOCX you need to register the provider which is nuget
run this command

Your system may not support TLS 1.2

so please run this first in PS under and admin context
run powershell x86 as administrator
write the next command:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

then run this

Register-PackageSource -Name MyNuGet -Location https://www.nuget.org/api/v2 -ProviderName NuGet

Then

Install-Package DocX

This will end up installing the DOCX that is required by the system to generate the report

@bnguyen71
Copy link
Author

bnguyen71 commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants