error of compiling NHibernate from VS2003

原创 2006年06月13日 10:24:00

when I compiled the NHibernate project that I download from, 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!

The resolution of ERROR C2662: cannot convert 'this' pointer from "const Class-Type" to "Class&"


XDMCP fatal error: Session declined Maximum number of open sessions from your host reached Increase ...
  • li_hai
  • li_hai
  • 2011年12月30日 10:21
  • 2396

VS2003编译OGRE error C2065: '__in' : undeclared identifier 解决

编译所需要的东西 WinXP SP3 + MS VS 2003 + CMake 2.8 + Ogre 1.7.1 + Microsoft DirectX SDK (June 2010)+ OgreD...

关于VS2005的error C2664: cannot convert parameter 2 from 'const char [2]' to 'LPCWSTR

一、VS2005设置UNICODE或ASCII字符集问题 VS2005开发程序时,默认的字符集是Unicode。所以如果程序中使用字符常量一定要显示转换为Unicode型,否则编译时报错。 如果你...

Compiling PHP and Apache 2 from source on Linux OS

from: Introduction: This ar...

Problems compiling Postgis from source in Ubuntu 9.10

Hi All, - I got the following error when I ran configure: $ sudo ./configure --with-pgsql=/usr/l...

Compiling and running pulseaudio from git

A few budding developers have asked me recently about this and to make life easy, I decided to write...
  • dssxk
  • dssxk
  • 2011年09月09日 09:46
  • 596

VS编译错误:mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file

一、问题描述 今天在用DDK编译一个驱动时出现以下错误:   1>------ 已启动生成: 项目: DriverDev, 配置: Driver Check Edtion Win32 -----...

Compiling and linking error when using NDK r10 to build cocos2d-x v3.2

用ndk r10编译cocos2dx NDK r10 has problem, refer to [this ticket](
  • shudaiu
  • shudaiu
  • 2014年08月09日 09:49
  • 1150

maven 启动 报错 Fatal error compiling: 无效的目标发行版 *...
您举报文章:error of compiling NHibernate from VS2003