Excel-DNA / Excel-DNA/ExcelDna

ComServer Example - Can't add a reference to the specified file

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

Description

I'm trying to run the sample ComServer in the Excel-Dna Samples but cannot add a reference to the ComServer.dll - [ComServer link](https://github.com/Excel-DNA/Samples/tree/master/ComServer)

The VBA project references show `MISSING:ComServer` but when I remove the missing reference and link to the newly build it gives error

`Can't add a reference to the specified file`

I've tried building with Any CPU and x64 with no luck and have tried all of the ExcelDna versions 1.0.0 onwards . Any ideas how to solve this?

```
Target Framework: .NET 4.7.2
Excel Version: Excel 2016 (16.0.5056.1000) MSO (16.0.5056.1000) 64-bit

```

![Untitled1](https://user-images.githubusercontent.com/84180543/118256775-c5703200-b4a5-11eb-9062-23b7dda883de.png)
![Untitled2](https://user-images.githubusercontent.com/84180543/118256786-c99c4f80-b4a5-11eb-8045-7e22202bc9d2.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.