<?xml version="1.0" encoding="utf-8"?>
<!--
  =============================================================================
  B28 中文版 — Excel-DNA .dna 配置文件
  B28 Chinese — Excel-DNA .dna configuration file
  =============================================================================
  说明 / Notes:
  - 这是装 ExcelDna.AddIn 包时自动生成的配置文件，一般不要手改；这里把它讲清楚便于排错。
    This file is auto-generated when installing ExcelDna.AddIn. Don't hand-edit unless necessary.
  - <ExternalLibrary Pack="true" /> 表示把 dll 打进 xll —— 单文件部署最干净。
    <ExternalLibrary Pack="true" /> means: embed the dll into the xll — cleanest single-file deploy.
  =============================================================================
-->
<DnaLibrary Name="MyExcelAddIn AddIn"
            RuntimeVersion="v4.0"
            Description="B28 教程示例：自定义函数 + RTD 实时数据"
            >

  <!--
    ExternalLibrary：声明要加载哪个 dll。
    Pack="true"：让 Excel-DNA 在生成 .xll 时把这个 dll 直接打进去；
                 分发时只需要发一个 .xll 文件即可（单文件部署）。
    Path：相对路径，文件名必须与 .csproj 的 AssemblyName 一致。

    ExternalLibrary: declare which dll to load.
    Pack="true": embed the dll into the .xll during packaging,
                 so distribution is just one .xll (single-file deploy).
    Path: relative path; file name must match .csproj's AssemblyName.
  -->
  <ExternalLibrary Path="MyExcelAddIn.dll" Pack="true" />

  <!--
    如果以后要引用第三方 dll，可以这样加：
    If you need to reference third-party dlls later:

    <Reference Path="SomeThirdParty.dll" Pack="true" />

    ExcelDna.AddIn 包的"全家桶"通常已经包含运行所需，无需额外加 Reference。
    The ExcelDna.AddIn "all-in-one" package already includes everything needed.
  -->

</DnaLibrary>