Excel-DNA / Excel-DNA/ExcelDna

Could not copy the file "ExcelAgent64.xll" because it was not found (dotnet10-windows test project)

Open
#857 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

I have an issue with running test project, I get this error when trying to run tests:

TargetFramework: dotnet10-windows
ExcelDna: 1.9.0 (Intergration, Testing in the test project, the same version in the main project)
Platform: AnyCPU (I have tested x86 as well)

Code: MSB3030
Description: Could not copy the file "ExcelAgent64.xll" because it was not found.
File: ExcelDna.Testing.targets
Line: 11

```xml



$(MSBuildThisFileDirectory)net6.0-windows7.0\


$(MSBuildThisFileDirectory)net472\

<-- points here

```

Previously the project was dotnet8-windows, but we are migrating to dotnet10.

Contributor guide

Open the contributing guide

Research direction

Start with ExcelDna.Testing.targets at line 11 and reproduce the copy failure in the dotnet10-windows test project. Compare the net6.0-windows7.0 and net472 agent paths shown in the target, then verify the test project builds and runs with both ExcelAgent64.xll and ExcelAgent.xll available in the target directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.