Can't publish my C# NET 2.0 Web Application
Posted on 2008-10-31
I have built an C# NET 2.0 Web Application which works beautifully on my local IIS. Now, I am trying to deploy it to production server and I am finding things that don't make much sense to me:
1. I choose to publish my project, choose to move only files necessary to run, I select my location, and on the end, in my deployment folder, there is no web.config file, there are any assemblies so I have to chase them on my local IIS and place them into BIN folder. Even if I would manually add web.config and all the dll files, my app wouldn't work. It would tell me that *.aspx.cs files are missing. The only way I could make it work is to copy all files from my development to deployment server. Publish definitely didn't work for me.
2. I don't quite understand what Clean/Build/Rebuild Solution and Build/Rebuild/Clean myApplication do?
Where can I look up these information... or please explain if it can be explained briefly...