Shaun Morehammered Denovan Shaun Morehammered Denovan - 1 year ago 151 Question

Excel DNA in VB.NET error "Xcopy exited with code 3"

I am getting an error but cant find any info on what is causing it.

Error 6 The command
"xcopy C:\Dev\MyProject\packages\ExcelDna.AddIn.0.33.9\tools\ExcelDna.xll"
"C:\Dev\PlatinumXL3\PlatinumXL3\bin\x86\Debug\PlatinumXL3-AddIn.xll*" /C /Y
exited with code 3. PlatinumXL3

Answer Source

The issue here was NuGet Packages. Right click your project, select 'Manage NuGet Packages' and uninstall the ExcelDna packages if there are any. Then click 'Online' on the left under 'Installed Packages' and search for 'ExcelDna'. Install those packages and it should solve your problem.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download