Question

I'm using 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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top