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 when using CDS Data Migrator on XRM Toolbox: 'Could not load file or assembly NuGet.Core' #94

Open StrategicRetirementPartners opened 1 year ago

StrategicRetirementPartners commented 1 year ago

Describe the bug The tool throws an error popup with the message 'Could not load file or assembly 'NuGet.Core Version 2.14.0.832, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'

To Reproduce

  1. Open CDS Data Migrator tool on XRM Toolbox
  2. Navigate to the Data Export page and load schema
  3. Modify Fetch settings (from Dataverse) and Write settings (to files)
  4. Click Save/Run buttons
  5. Observe the error popup with the following message: 'Could not load file or assembly 'NuGet.Core Version 2.14.0.832, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'

Expected behavior The CDS Data Migrator tool should run without errors after modifying the settings on the Data Export page and clicking the Save/Run buttons.

Additional context This error prevents users from being able to run data migrations using the CDS Data Migrator tool on XRM Toolbox.

CDS Data Migrator version: 2.0.4.0 XRM Toolbox version: 1.2023.2.64

tdashworth commented 1 year ago

Hi @StrategicRetirementPartners,

Please can you try version 2.0.2.0 or 2.0.3.0?

StrategicRetirementPartners commented 1 year ago

Sure thing. Since your message I have been trying but unsuccessfully. I am able to install older versions of other tools. I've also reinstalled XRM Toolbox and tried again with same results. Recording 2023-04-12 at 11 13 12

tdashworth commented 1 year ago

Thanks for trying that. This is a known issue with previous versions that I thought was solved...

While we solve the root issue, please try these steps: https://github.com/Capgemini/xrm-datamigration-xrmtoolbox/issues/57#issuecomment-1164115081

omnisip commented 9 months ago

I have the same issue.