c# - How to publish a project with extern Data correctly -


i'm trying publish project needs data stored in .txt file.

the file located in bin\debug. path streamreader relative using applicaton.startuppath. added .txt file solution explorer, somehow bad path error message every time try start published setup.

how publish project needed .txt file?

you have various ways of achieving this.

  1. the txt file included in solution file have property called build action. change content , should published deployments.

  2. you can add resources, need access differently.

  3. add installation package


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -