Skip to content

about the RTDServer in a different project #569

Answered by govert
SKYC829 asked this question in Q&A
Discussion options

You must be logged in to vote

You need to add the other assembly into the main .dna file as another ExternalLibrary:

<?xml version="1.0" encoding="utf-8"?>
<DnaLibrary Name="ExcelRTDTest Add-In" RuntimeVersion="v4.0" xmlns="http://schemas.excel-dna.net/addin/2020/07/dnalibrary">
  <ExternalLibrary Path="ExcelRTDTest.dll" ExplicitExports="false" LoadFromBytes="true" Pack="true" IncludePdb="false" />
  <ExternalLibrary Path="ExcelRTDTest.Servers.dll" ExplicitExports="false" LoadFromBytes="true" Pack="true" IncludePdb="false" />
</DnaLibrary>

It would also make more sense for the other project to only use the "ExcelDna.Integration" package, and not the "ExcelDna.AddIn" package too, as it won't be an add-in itself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SKYC829
Comment options

Answer selected by SKYC829
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants