I have a simple text file with extension .txt added to my solution with the following properties:
Build Action: Content
Copy To Output Folder: Copy always
I see deployed file in the proper IIS directory, which in this case is c:\inetpub\wwwroot\occ600\application files\occ_v_x\docs.
However, when I update my application, this file is not downloaded. IIS already has a MIME type defined for .txt, which I suspected was the problem. Also, this file is the only file in the docs folder in my solution. What else should I look for.
TIA.
Klaus
File is being copied. However, code looking for file is not taking into consideration that application could potentially be deployed via ClickOnce. Hence it is always looking for file relative to application install folder rather than testing if application is network deployed before determining where to look for file.