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.

Add `--no-build` to dotnet-run

See original GitHub issue

Steps to reproduce

dotnet run --no-build

Expected behavior

Runs without building

Actual behavior

--no-build is not an option

https://github.com/dotnet/cli/blob/rel/1.0.0/src/dotnet/commands/dotnet-run/Program.cs#L24

It’d be nice if we had a manual gesture to avoid rebuilding every time we use dotnet run.

Especially to support things like: https://github.com/dotnet/cli/issues/2174

@eerhardt @piotrpMSFT

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
pasisavolainencommented, Jan 23, 2017
Project Foobar.Portal (.NETFramework,Version=v4.6) will be compiled because project is not safe for incremental compilation. Use --build-profile flag for more information.
Compiling Foobar.Portal for .NETFramework,Version=v4.6

We have project that pulls half the world through npm & bower. It’s insanity to do this every time I want to just run the project. Please reconsider.

1reaction
livarcocccommented, May 8, 2017

We have a --no-build flag on run. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet msbuild command - .NET CLI
The dotnet msbuild command allows access to a fully functional MSBuild. The command has the exact same capabilities as the existing MSBuild ......
Read more >
What's the difference between using dotnet and MSBuild ...
NET SDK via CLI, running dotnet build is equivalent to dotnet msbuild --restore . Under the hood, the latter command also runs MSBuild,...
Read more >
dotnet/msbuild: The Microsoft Build Engine ...
This engine, also known as MSBuild, provides an XML schema for a project file that controls how the build platform processes and builds...
Read more >
Tips & Tricks to improve your .NET Build Setup with MSBuild
MSBuild is the powerful - now open source - build system used in all . NET Builds. It has a language of its...
Read more >
10 commands you don't want to be without in .Net Core
Net Core CLI, hopefully, there's something for everybody here, from absolute ... Net you knew there was an MSBuild command in the background...
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