To resolve these you can individually point each reference to the correct dll, or you can take the following faster approach.
In Solution Explorer, right-click your project node and click Properties. The Project Designer appears:
Select the Reference Paths page. In the Folder field, type the path of the folder that contains the items you want to reference, and then click the Add Folder button:
|The path for most D365fO dll's is J:\AosService\PackagesLocalDirectory\Bin\|
Click Save to save the setting and then close the dialog:
And ... voilà: