.NET Code of Document Explorer

Hi Tahir,
The link to the github project is broken. Can you post the current one? We are interested in using the Document Explorer.
Thank you!

@dshah1234

We are working over your query and will get back to you soon.

@dshah1234

Please get the Document-Explorer code from attachment. Document-Explorer.zip (78.2 KB)

1 Like

A post was split to a new topic: Document-Explorer code

I also want to

@CurryPotato,

You can now get Document Explorer from GitHub repository of Aspose.Words for .NET.

Perfect! Thank you.

Thank you!!!

I am unable to build this example. I am receiving these errors :
D:\Aspose.Words-for-.NET-master\Examples\DocsExamples\Docker\Docker.csproj : error : The project file cannot be opened. Unable to locate the .NET SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

D:\Aspose.Words-for-.NET-master\Examples\DocsExamples\DocsExamples\DocsExamples.csproj : error : The project file cannot be opened. Unable to locate the .NET SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

D:\Aspose.Words-for-.NET-master\Examples\DocsExamples\PluginsExamples\PluginsExamples.csproj : error : The project file cannot be opened. Unable to locate the .NET SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

I have installed the .NET SDK 8.0.8, which is the latest available version at this time. What am I doing wrong?

@vignesh527 You should open the DocsExamples.sln and set DocumentExplorer as a startup project:

I tried this but nothing happened. There is some problem with my machine loading all the files in the repo.

I have several files as unloaded, and in the output I am receiving these errors.

@vignesh527 Unfortunately, i cannot reproduce the problem on my side. I cloned Aspose.Words for .NET repo, open Aspose.Words-for-.NET\Examples\DocsExamples\DocsExamples.sln solution, set DocumentExplorer as startup project and build it.

Are there any extensions or applications that I have to install for this tool to be supported in my machine? I have installed .NET SDK from Download .NET (Linux, macOS, and Windows) , Should I install anything other than this? I have also added the dotnet path in the Environment variables in the system, nothing seems to work.

@vignesh527 In DocumentExplorer project the following target frameworks are specified: <TargetFrameworks>net48;net6.0</TargetFrameworks>. So please try installing .NET Framework 4.8 on your side and recompile the project.

I am still unable to build this, I was able to solve the unloaded issue that occurred before using some references in the forums, but there is some problem in detecting .NET 4.8. Can you tell me this, is the DOM Tree created based on the document.xml file of .docx files or if not, how does it contain the information same as document.xml which can be used for text extraction?

@vignesh527 You are right, Aspose.Words is designed to work with MS Word documents, so it’s DOM is very similar to OOXML document DOM.

1 Like