1

我已将 Moneris 库 eSELECTplus_dotNet_API.dll 的外部引用包含到我的 ASP.NET 5 RC1 项目中。它包装得很好,我可以构建项目并使用 Kestrel 运行它。但是当我从 VS 或命令行发布它时,出现以下错误:

The package ID 'eSELECTplus_dotNet_API' contains invalid characters. Examples of valid package IDs include 'MyPackage' and 'MyPackage.Sample'.

我尝试将库重命名为更好的名称以适应 nuget 规范,并且它有效,因此我可以发布它。但是现在当我运行我的项目时,出现运行时错误,提示如下:

      System.IO.FileNotFoundException : Could not load file or assembly 'eSELECTplus_dotNet_API, Version=2.5.3.0, Culture=neutral, PublicKeyToken=8cb9cd598f87e276' or one of its dependencies. The system cannot find the file specified.

请指教。

4

0 回答 0