开发者

aspnet_compiler WebSite project

开发者 https://www.devze.com 2022-12-19 09:09 出处:网络
Can I compile a WebSite 开发者_JAVA技巧project(3.5) using utility aspnet_compiler from command line without installing IIS if I am using local web server for development?

Can I compile a WebSite 开发者_JAVA技巧project(3.5) using utility aspnet_compiler from command line without installing IIS if I am using local web server for development?

Thanks


Yes, you can. You'll have to specify the virtual path you'll host it on the server though:

aspnet_compiler -v /deploymentVirtualPath -p D:\InputWebSite D:\CompiledWebsite

This will compile the Web site in "D:\InputWebsite" to "D:\CompiledWebsite" and expects it to get deployed in "/deploymentVirtualPath" virtual path on the production server. If you need to deploy it in the Website root, just specify "/" as the virtual path.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号