如何获得代码所在的程序集的路径?
编辑
C:\projects\myapplication\daotests\bin\Debug\daotests.dll
C:\Projects\myapplication\daotest\bin\Debug\
Environment.CurrentDirectory
System.Reflection.Assembly.GetAssembly(typeof(DaoTests)).Location
System.Reflection.Assembly.GetExecutingAssembly().Location
jeck猫
青春有我