Capgemini / xrm-datamigration-xrmtoolbox

Export and import data for Microsoft Dataverse as an XrmToolBox plugin. Supports JSON and CSV.
MIT License
8 stars 4 forks source link

ERROR: NuGet.Core #86

Closed visuary closed 1 year ago

visuary commented 1 year ago

When attempting to run a basic data export, receiving the error: Could not load file or assembly 'NuGet.Core, Version=2.14.0.832 or one of its dependencies, the system cannot find the file specified.

This is a new installation of CDS Data Migrator in the XRMToolBox and first attempt at using it. Version is 2.0.0.0

There are no stated prereqs to install nuget client

tdashworth commented 1 year ago

Hi @visuary, that's interesting as we had already resolved this issue (#34) by removing that dependency.

What version XrmToolBox are you using? Can you use the latest if you are not already?

visuary commented 1 year ago

I'm using 1.2022.11.59, the current version. This is a new pc, first time using XRMToolbox on this machine. Didn't copy my XRMToolbox files from another PC. This is all new.

tdashworth commented 1 year ago

@visuary I have been able to reproduce the issue. I'll investigate further and get back to you in the coming days.

danroche10 commented 1 year ago

Hi @visuary - as a temporary fix can you follow the solution in issue #34 ?

Manually add the NuGet.Core.dll library to:

C:\Users\\AppData\Roaming\MscrmTools\XrmToolBox\Plugins

In order to get the dll file, you'll need to do:

dotnet add package NuGet.Core --version 2.14.0

This will save the dynamic library in C:\Users\.nuget\packages\nuget.core\2.14.0\lib\net40-Client

You can copy/paste it into C:\Users\\AppData\Roaming\MscrmTools\XrmToolBox\Plugins

I am working on a more permanent solution and will update when I have it.

visuary commented 1 year ago

That did work, thank you for the information. Quick question, is there any way to alphabetize the entity list, it is very difficult to find an entity in that list.

Screenshot 2023-01-09 082309

danroche10 commented 1 year ago

Ok great. You're not able to alphabetize the list in the interface but if you raise an issue then I can make the list alphabetized by default.

tdashworth commented 1 year ago

Hi @visuary, this issue has now been resolved in version 2.0.2 which should be available in the coming days.