oserin avatar image
0 Votes"
oserin asked AnnaXiu-MSFT edited

Deploy config files alongside with dotnet tool install


I am basically packing my build that consists also in xml and json configuration files that my cli looks for in the same directory as my exe binary (maybe not the best way to handle the info in these configuration files ?).

It all works well when I build and execute since the build folder will have these configuration files but when I install it via dotnet only the exe files are deployed to the path that I specify and the config files being put under .store/name of app/version/.net framework version and so on.

I was wondering if there was a way to specify to also deploy these specific config files in the same path when I use dotnet tool install (or update).

Any idea if possible at all ?
Kind Regards

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers