I am trying this. I have built asp.net website. When I publish to IIS through VS2008 it works fine. Lets say my site is at c:\\projects\\Website1\\ I want to publish it to c
I solved the problem in meantime. You just need to pass the physical path, because it picks up one from IIS
aspnet_compiler -v /WebsiteOne -p c:\projects\Website1 -f c:\Inetpub\wwwroot\WebsiteOne
in case someone else encountered same problem..