Incremental Build aspnet_compiler

2019-06-25 10:21发布

I am using aspnet_complier command for building website, first time it is compiling complete website i.e all pages, but after modification on the site, it is again compiling all the pages. It should compile only that pages that have been changed or modified.

And other things are
1) How can i speed up the aspnet_compiler ?
2) how can i exclude warning from the output ?

Please suggest on the same.

1条回答
可以哭但决不认输i
2楼-- · 2019-06-25 10:59

According to the documentation, "You can also recompile an application in place after adding new source files to it. The tool compiles only the new or changed files unless you include the -c option".

Unfortunately, there doesn't appear to be an option to hide warnings.

Speed up the process by making sure the machine where you run it is appropriately powered. eg. an SSD disk should probably help.

查看更多
登录 后发表回答