狀況使用FileVersionInfo類別的GetVersionInfo方法,所得的FileVersion屬性一直是修改前的舊值(1.0.4)而不會更新(1.0.10)。
1_專案屬性>應用程式>組件資訊>檔案版本確實是1.0.10。
2_<專案名稱>-AddIn.dna設定檔有加上UseVersionAsOutputVersion=”true”。
解法將該檔案路徑停用共享,再重新開啟即正常。
excel-dna — 2017年11月6日
Made with ❤ and Hexo.js at Taiwan.