Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Copy static files to project root directory from nuget package

$
0
0

I am trying to build a nuget package in .Net Core for that I create a .net core classLibrary project and also add 2 json config files for configuration which I alsoadd into package .

I want ,when I add the package into my project then the 2 json files placed into project folder rootor where I set the path.

for this I do following steps ,but not working,files added as a link ,my requirementis add files physically into directory

enter image description here

Create a class library project

enter image description here

Set JSON file property

enter image description here

Set package options

enter image description here

after adding the package ,json files add as link.

I want a less complex straight forward solution.

Please help.


Viewing all articles
Browse latest Browse all 3067

Trending Articles