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!



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...

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
  • 2263

关于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...

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

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

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
  • 563

maven 启动 报错 Fatal error compiling: 无效的目标发行版 *...

Compiling... Error spawning cl.exe

Compiling... Error spawning cl.exe有时候,我们运行VC的时候会出现这种提示: Compiling... Error spawning cl.exe  对于这个提示,主...