Capgemini / Capgemini/xrm-datamigration-xrmtoolbox
Error when using CDS Data Migrator on XRM Toolbox: 'Could not load file or assembly NuGet.Core'
- Dominant language
- C#
- Stars
- 10
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
**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
Contributor guide
Research direction
Reproduce the error with CDS Data Migrator 2.0.4.0 in XRM Toolbox 1.2023.2.64 by following the Data Export and Save/Run steps. Start by tracing the NuGet.Core 2.14.0.832 dependency used during those actions. Done means the migration runs without the missing-assembly popup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- databases, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100