I m generating resource assemblies from text files by executing a bat file in the pre-build event and copying them into bin folder. These resource assemblies are therefore not referenced in the project.
At present I need to manually copy these dlls into published folder. Is there a clean way that ensures that everytime I publish, the required dlls are copied into published folder.
Note: I do not want to hard code physical path for deployment folder in the bat file/ or prebuild events.
Please select the DLL and open Property and Marked "Copy Local" as True. Please refer below image. it may help you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.