Huge build time increase for .NETCoreApp,Version v1.1
See original GitHub issueI’ve updated my ASP.NET Core application to .NET Core 1.1 and ASP.NET Core 1.1 runtime packages. Using 1.0 building took ~5 seconds. After the update it’s ~40 seconds.
When I set "preserveCompilationContext": false
in the project.json, the build time goes down to ~1 sec.
My application is rather large and pulls in a fair amount of dependencies. It does not repro with a new project.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
The compilation time can be improved. Run "dotnet build
When I run that in any of the projects, however, I get this: Project MyProj.Web (.NETCoreApp,Version=v1.0) was previously compiled. Skipping ...
Read more >Up to 80% build time reduction with accelerated ...
Visual Studio BUILD ACCELERATION is currently in preview and will be ... According to Microsoft, build times can be cut by as much...
Read more >EF Migrations assembly build time went from ~30 seconds ...
1 and netcoreapp3.1 that takes about ~40 seconds to run a full rebuild on Visual Studio 16.7 and prior versions. After installing Visual...
Read more >What's new in .NET Core 3.0
R2R binaries improve startup performance by reducing the amount of work the just-in-time (JIT) compiler needs to do as your application loads.
Read more >Improve Visual Studio Build Performance
Thus struggling for shorter build time is essential. This post discusses various tooling and strategies to Improve Visual Studio Build Performance: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just removed it. But the latest version is
1.0.0-preview2-1-003177
.Perhaps a warning from the CLI that the SDK version in global.json and the .NET Core version of the application do not match would come in handy.