I am just getting started with NuGet and trying to get my head around it. I may be trying to use NuGet for someting it isn’t intended for, but I was hoping someone might give me some hints.
My issue: I am trying to create a package with different files. The files is of different type (images, text files, etc.). I want the package to work, so that the files get added to my application root, but isn’t included in my visual studio project. I have tried it, but the files is always added to the project. Is there a way around this?
Thanks
There is no direct support for this today. Anything that you put in the content folder gets added to your project when the package is installed.
However, you should be able to achieve this result using an install.ps1 script, e.g.: