i want to publish a WPF app with ClickOnce, but i'd like to include data files that are in my project (json and txt). Actually, the app works when building from visual, but crash when i publish it with ClickOnce, because it can't find these data files after publishing. How can i specify somewhere, to deploy the app with those data files? Or should i change the path of those files in the code?
Hope my problem is clear, thanks.