AspNetCore.Docs/aspnet/visual-studio/overview/2017/optimize-build-perf.md

19 lines
1.0 KiB
Markdown
Raw Normal View History

---
uid: visual-studio/overview/2017/optimize-build-perf
title: Optimize build performance for solution
author: AngelosP
description: Optimize build performance for solution
ms.author: riande
ms.date: 08/29/2018
msc.type: authoredcontent
---
# Optimize build performance for solution
Visual Studio 2017 15.8 or later include a menu item: **Build** > **ASP.NET Compilation** > **Optimize Build Performance for Solution**.
![Screenshot of the new menu item](optimize-build-perf/_static/optimize-build-performance-for-solution.png)
ASP.NET compiles its views at runtime, which means that an ASP.NET project carries with it a copy of the compiler. However on a developer machine when the copy of the compiler doesn't match Visual Studio's copy, build performance is impacted on the order of 1-3 seconds per incremental build. This feature updates your project's copy of the compiler to match Visual Studio's, which usually speeds up incremental builds.
**This is applicable to ASP.NET Framework 4.7.1 or later projects only, it does not apply to ASP.NET Core.**