c# class library use files -
i'm building class library use .dat file, inside library made folder app_data , put .dat file inside it, how can have library use .dat file. how included @ dll when build?
i tried path.getfullpath, , in path, path debug folder, , in folder dont have .dat file expect included because .dat file in project.
i want use .dat file without hard coding path, , should still work when referenced.
you must right-click .dat file , set copy output directory = copy always. doing so, path debug folder correctly point file. no need hard code path.

if you're interested in embedding .dat file in dll (a bit more work), can go way:
Comments
Post a Comment