views:

352

answers:

3

Hi,

I have developed an asp.net application and when using the publish tool in Visual Studio 2008, my changes don't get uploaded to the server (ie new css files). I made a thread about this on asp.net and was told to clear my local settings folder in my documents/application data, but because I am on a networked pc at work, I don't have this folder. Is there another way to fix this?

Also, I tried to do a copy (tried anything out of desperation), but this won't work because the site is now precompiled.

Thanks

+1  A: 

You could always use FTP. I personally never use "Publish", I use Beyond Compare for all my publishing needs.

Jeff Sheldon
A: 

Try the following to rule out permissions errors:

  1. Navigate to the server virtual dir using unc paths
  2. Edit a List item key value pair in the published web.config and check whether you are able to save the change
  3. if that was successful try manually deleting all the files then publishing the changes.
  4. if that still fails publish to a local folder then copy from the local folder to the remote server.
Mauro
A: 

Like Jeff Sheldon, I use Beyond Compare in my development environment to push to my development server. When I'm ready to push to production though, I publish to another directory on my workstation and use Beyond Compare to push the compiled site to production.

Publish should copy everything that your solution sees. If you add something to the directory structure outside of Visual Studio and don't refresh that directory in your solution, it may not get published.

craigmoliver