开发者

Copy release dll after build?

开发者 https://www.devze.com 2023-03-01 06:37 出处:网络
I\'m using开发者_Python百科 nuget and after I build my release dll, I would like it to copy that dll to the package\\lib folder that exists in the projects folder.

I'm using开发者_Python百科 nuget and after I build my release dll, I would like it to copy that dll to the package\lib folder that exists in the projects folder.

How is that done?

/Lasse


Under project properties, add the following post-build event:

copy "$(TargetPath)" "$(SolutionDir)package\lib"

Be sure to modify the path to your nuget package root. I assumed here that it was <Solution>\package

0

精彩评论

暂无评论...
验证码 换一张
取 消