I am trying to do this. I created an asp.net website. When I publish to IIS through VS2008, it works fine. Suppose my site is located in c: \ projects \ Website1 \ I want to publish it in c: \ Inetpub \ wwwroot \ WebsiteOne
I am trying to imitate publishing from a studio. This is to publish and delete everything that is on the side.
I tried this: aspnet_compiler -v / WebsiteOne -fc: \ Inetpub \ wwwroot \ WebsiteOne
Error: error ASPRUNTIME: The target compilation directory (c: \ Inetpub \ wwwroot \ WebsiteOne) cannot be in the same tree as the application source directory (c: \ inetpub \ wwwroot \ WebsiteOne).
When I tried this: aspnet_compiler -v / WebsiteOne
I get an error. This application has already been precompiled.
Anyone who could give me an idea on how to do a string assembly and publish a website
thanks
source share