question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Huge build time increase for .NETCoreApp,Version v1.1

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
henkmollemacommented, Nov 18, 2016

I just removed it. But the latest version is 1.0.0-preview2-1-003177.

3reactions
henkmollemacommented, Nov 18, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found