Trying to Build and Publish Asp.net website from command line using aspnet_compiler

后端 未结 3 897
野趣味
野趣味 2021-01-19 03:10

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

3条回答
  •  Happy的楠姐
    2021-01-19 03:42

    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..

提交回复
热议问题