views:

242

answers:

1

How can I find/set the Assembly Name for Web Site created in Visual Web Developer?

Actually I am trying out NHibernate with Visual Web Developer Web site. In the .hbm.xml (mapping file) contains a attribute called Assembly where we need to specify the Assembly Name of the Project containing the entity class.

Where can I find the assembly name for the Web Site?

If a assembly name not available for a web site, how can I overcome this situation?

A: 

System.Reflection.Assembly.GetAssembly(typeof(A_Class_Name_Here)).GetName().Name;

Dennis