关闭

error of compiling NHibernate from VS2003

712人阅读 评论(0) 收藏 举报

when I compiled the NHibernate project that I download from forcesource.net, error occur.  The bug report is "读取密钥文件“../NHibernate.snk”时出错 -- 系统找不到指定的文件".

Two methed to  resolve this problem :

1. Find AssemblyInfo.cs file , delete the line --"[assembly: AssemblyKeyFileAttribute("..//NHibernate.snk")]"

2. In ..NET command line, run "sn -k NHbernate.snk " , you will get the file-- NHbernate.snk  , put the file to correct place, than re-compile the project , OK, successfull!

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:26068次
    • 积分:442
    • 等级:
    • 排名:千里之外
    • 原创:18篇
    • 转载:2篇
    • 译文:0篇
    • 评论:1条
    文章分类
    最新评论