0

I have deployed my website to IIS 7. The deployed web will be on www inetpub folder. My project folder is on another destination.

I have a habit of testing my web using the debugging mode on Visual Studio instead of going to the localhost web on IIS to test. So in my code, I create a folder in the project folder, but the folder that is being created by the code is not reflected in the www inetpub folder. Is this because I test it using debugging mode instead of going on the hosted web?

How can I show the folder being created by the code in the www inetpub folder? Is the only way to copy paste the folder and test it using the hosted website from then onwards? Advice needed.

1
  • How you creating folder? please send code for more details Commented Nov 4, 2013 at 14:49

1 Answer 1

1

sometimes you need to create the folder and insert a dummy file on it, that happens to me by the time you build your solution, the VS simply ignores the directories that are "not relevant" to the solution.

create in the your folder are a file as follows: /myFolder/dummy.txt

where dummy.txt is a blank txt file and myfolder is the folder you want to keep after the build of your solution.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.