c# - resolve assembly with name changed after build -
i creating add-on utility executable product. executable runs on classes within original product (i building tool in same vs solution product project referenced). when debugging within project solution works fine. when test in released product application fails error cannot load file or assembly "product assembly name". reason in release product post-build script runs changes product filename. in released product directory if rename product filename original, utility work. temporary fix next thing tried create temporary copy of file , rename delete @ end of utility script, file locked , cannot deleted until appdomain unloaded. have been looking solution while no luck ideas welcome.
while not find way reference entire assembly, did stumble across this code made loading methods assembly easy.
Comments
Post a Comment