VS 2010 pre-compile web sites with build process?

后端 未结 4 418
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-20 06:56

VS 2010; TFS 2010; ASP.Net 4.0; Web Deployment Projects 2010;

I am using the build process templates in order to do one-click deploys (for dev and QA only). I want m

4条回答
  •  盖世英雄少女心
    2020-12-20 07:25

    A setting for precompiling has been added. The following works in Visual Studio 2015

    1. Open a solution
    2. Right click on the project
    3. Select "Publish..."
    4. Go to settings, expand "File
    5. Check "Precompile during Publishing"

提交回复
热议问题