Background:
Hello, I have a project which use config.txt (an external text file in JSON format to save settings per user, like where to save files etc).
This is my current folder:
My Project
> Main.xaml
> config.txt
The question is:
How to publish this so that config.txt is not included in the .nupkg (without Orchestrator)?
Code:
What I do was exactly like in this answer, but how to publish it?
Details:
- When I published the project to MyProjectxxxxx.nupkg, move the .nupkg and config.txt to another computer (same folder), change the config.txt content according to the other computer’s setting, and run the robot, the robot is reading the config.txt I used in the development computer. Even when I deleted the config.txt from user’s package folder, it doesn’t throw error so it seems like the config.txt was included when making the package.
The user computer folder:
Package>
> MyProjectxxxxx.nupkg
> config.txt (the content is different)
- When I publish by deleting the config.txt from the folder first then publishing it, then move it to user computer and add config.txt in the same folder, it doesn’t read either.
Any idea how to do this, without Orchestrator?