I am creating a nuget package and I want it to add a post-build event to my project that will copy some dll files to its target directory.
Is such a thing possible? If so, how would I do it?
Or is there a way to, somehow, embed unmanaged dll’s (native C++) in my nuget package and have them copied upon build to the target directory?
Well, I kinda figured it out by putting the unmanaged dll’s in a
Dependenciesfolder that I put inside thecontentdirectory of the nuget package.Then my build/deploy process depends on that
Dependenciesfolder. (Copy to output directory)