我正在尝试编译一个声明为public的类(sqlAccess),其中包含几个与数据库连接相关的方法.我收到以下错误...
Error 1 Friend access was granted to 'SqlAccess, PublicKey=00c8', but the output assembly is named 'SQLAccess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Try adding a reference to 'SqlAccess, PublicKey=00c8' or changing the output assembly name to match. c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll SQLAccess
Run Code Online (Sandbox Code Playgroud)
可能是什么原因?有没有这个名字的方法?我是编程新手,所以我无法理解这一点.谢谢.
| 归档时间: |
|
| 查看次数: |
6632 次 |
| 最近记录: |