DDLLY命名空间中MyGenerationNHibernate模板问题解决!

在学习Nhibernate中找到DDLLY命名空间,这个空间真的很不错,DDLLY提供了MyGeneration-NHibernate模板生成(模板下载,下载完成后把DDLLY.MyGenerationTemplate.dll拷贝到MyGeneration的安装路径。把模版文件拷贝到MyGeneration的安装路径下的Templates目录里面的NHibernate目录里。)但是我用MyGeneration按照DDLLY所说的放到各个文件夹后,编译一直不能通过,出现什么没有引用,下面是解决方法:
相关参考:DDLLY(用我的MyGeneration模板生成NHibernate映射文件和关系(one-to-one,one-to-many,many-to-many) http://www.cnblogs.com/renrenqq/archive/2006/08/23/484216.html)

环境:vs2005, MyGeneration1.3x
添加引用:
Dnp.Utils.dll
MyMeta.dll
PluginInterfaces.dll
Zeus.dll
System.EnterpriseServices(.net页中能找到)

注意不要添加:DotNetScriptingEngine.dll的引用(DotNetScriptingEngine.dll在MyGeneration根目录下能找到)

using System;
using System.Globalization;
using System.Text.RegularExpressions;
using Dnp.Utils;
using MyMeta;
using Zeus;
using Zeus.DotNetScript;
using Zeus.UserInterface;

编译通过,其他和博主所写一样,
生成完成后把DDLLY.MyGenerationTemplate.dll拷贝到MyGeneration的安装路径。把模版文件拷贝到MyGeneration的安装路径下的Templates目录里面的NHibernate目录里。
模板通过,enjoy together!^0^

原文地址:https://www.cnblogs.com/liul21cn/p/1006611.html