"Word document is not defined" error encountered during validation

Hi,

The Word Application Scope is working but when I do the validation, it is giving me the error message “Type ‘UIPath.Word.WordDocument’ is not defined”. I cannot publish due to this. Word activities is included in my packages.

ErrorWord

publisherror

1 Like

@Anna.Fortuito

Welcome to UiPath forum

In this case, You need to import namespace for Microsoft office.

Microsoft.Office.Core

image



After you import Microsoft.Office.Core, you will able to publish package with Word Application Scope.

I hope it will be help you

4 Likes

Thanks! It’s working now :smiley:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.